From 2093c5cb29beb5ef0e48e606140391f3fcb0d5b8 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 8 Dec 2017 15:11:17 -0500 Subject: [PATCH 01/26] 4.5.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 845634b1..6b46b9b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.4.2", + "version": "4.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3a3263f0..5628c735 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.4.2", + "version": "4.5.0", "description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support", "homepage": "https://ionicframework.com/", "author": "Ionic Team (https://ionic.io)", From 0a12dc079226ba4099fa59de5848ffa1f0c3f5e8 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 8 Dec 2017 15:11:23 -0500 Subject: [PATCH 02/26] chore(): update changelog --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 625cada6..aab53874 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ + +# [4.5.0](https://github.com/ionic-team/ionic-native/compare/v4.4.2...v4.5.0) (2017-12-08) + + +### Bug Fixes + +* **alipay:** add 'string' as an alternative type for 'pay()' input parameter; ([#2172](https://github.com/ionic-team/ionic-native/issues/2172)) ([d43fe72](https://github.com/ionic-team/ionic-native/commit/d43fe72)) +* **app-rate:** add simpleMode ([#2155](https://github.com/ionic-team/ionic-native/issues/2155)) ([9844274](https://github.com/ionic-team/ionic-native/commit/9844274)) +* **app-rate:** change openStoreInApp to inAppReview ([#2097](https://github.com/ionic-team/ionic-native/issues/2097)) ([d95ae68](https://github.com/ionic-team/ionic-native/commit/d95ae68)) +* **camera-preview:** add missing `tapToFocus` camera option ([#2046](https://github.com/ionic-team/ionic-native/issues/2046)) ([b9b781d](https://github.com/ionic-team/ionic-native/commit/b9b781d)) +* **deeplinks:** add options parameter([#1601](https://github.com/ionic-team/ionic-native/issues/1601)) ([#2141](https://github.com/ionic-team/ionic-native/issues/2141)) ([bb2291c](https://github.com/ionic-team/ionic-native/commit/bb2291c)) +* **ftp:** return observable (not promise) for upload and download method ([#2174](https://github.com/ionic-team/ionic-native/issues/2174)) ([5159367](https://github.com/ionic-team/ionic-native/commit/5159367)) +* **indexappcontent:** Return observable for onItemPressed ([#2006](https://github.com/ionic-team/ionic-native/issues/2006)) ([9a52110](https://github.com/ionic-team/ionic-native/commit/9a52110)) +* **mobile-accessibility:** change signature references to the correct names ([#2139](https://github.com/ionic-team/ionic-native/issues/2139)) ([b2c873c](https://github.com/ionic-team/ionic-native/commit/b2c873c)) +* **ms-adal:** add userInfo in the AuthenticationResult ([#2160](https://github.com/ionic-team/ionic-native/issues/2160)) ([c038c63](https://github.com/ionic-team/ionic-native/commit/c038c63)) +* **music-controls:** various fixes ([#2094](https://github.com/ionic-team/ionic-native/issues/2094)) ([afca876](https://github.com/ionic-team/ionic-native/commit/afca876)) +* **push:** add senderID to AndroidPushOptions ([#2060](https://github.com/ionic-team/ionic-native/issues/2060)) ([4694c42](https://github.com/ionic-team/ionic-native/commit/4694c42)) +* **web-intent:** fix false negative of plugin installation ([#2062](https://github.com/ionic-team/ionic-native/issues/2062)) ([ae94c71](https://github.com/ionic-team/ionic-native/commit/ae94c71)) + + +### Features + +* **android exoplayer:** add cordova-plugin-exoplayer ([#2180](https://github.com/ionic-team/ionic-native/issues/2180)) ([d06fa48](https://github.com/ionic-team/ionic-native/commit/d06fa48)) +* **android-fingerprint:** add getSigningCertificateFingerprint() method ([#2076](https://github.com/ionic-team/ionic-native/issues/2076)) ([bd5bcdc](https://github.com/ionic-team/ionic-native/commit/bd5bcdc)) +* **apple-pay:** add cordova-plugin-applepay ([#2081](https://github.com/ionic-team/ionic-native/issues/2081)) ([784f948](https://github.com/ionic-team/ionic-native/commit/784f948)) +* **apple-pay:** update for version 3 of the Apple Pay plugin. ([#2177](https://github.com/ionic-team/ionic-native/issues/2177)) ([bf41506](https://github.com/ionic-team/ionic-native/commit/bf41506)) +* **ble:** support startStateNotifications & stopStateNotifications ([#2085](https://github.com/ionic-team/ionic-native/issues/2085)) ([2a4bcee](https://github.com/ionic-team/ionic-native/commit/2a4bcee)) +* **braintree:** add support for cordova-plugin-braintree to [@ionic-native](https://github.com/ionic-native) ([#2073](https://github.com/ionic-team/ionic-native/issues/2073)) ([091ac7a](https://github.com/ionic-team/ionic-native/commit/091ac7a)) +* **call-number:** add isCallSupported method ([#2051](https://github.com/ionic-team/ionic-native/issues/2051)) ([6053296](https://github.com/ionic-team/ionic-native/commit/6053296)) +* **dns:** add cordova-plugin-dns plugin ([#2083](https://github.com/ionic-team/ionic-native/issues/2083)) ([212bd63](https://github.com/ionic-team/ionic-native/commit/212bd63)) +* **firebase:** add new Firebase phone verification methods ([#2157](https://github.com/ionic-team/ionic-native/issues/2157)) ([86181af](https://github.com/ionic-team/ionic-native/commit/86181af)) +* **GooglePlayGamesServices:** add plugin ([#1904](https://github.com/ionic-team/ionic-native/issues/1904)) ([03f5789](https://github.com/ionic-team/ionic-native/commit/03f5789)) +* **network-interface:** add plugin support ([#2063](https://github.com/ionic-team/ionic-native/issues/2063)) ([86b2a2c](https://github.com/ionic-team/ionic-native/commit/86b2a2c)) +* **nfc:** add interfaces and missing references to UriHelper and TextHelper ([#2104](https://github.com/ionic-team/ionic-native/issues/2104)) ([8b78644](https://github.com/ionic-team/ionic-native/commit/8b78644)) +* **nfc:** add support for iOS ([#2050](https://github.com/ionic-team/ionic-native/issues/2050)) ([9f72592](https://github.com/ionic-team/ionic-native/commit/9f72592)) +* **push:** add support for version 2.1.0 ([#2064](https://github.com/ionic-team/ionic-native/issues/2064)) ([c1ce5da](https://github.com/ionic-team/ionic-native/commit/c1ce5da)) +* **zeroconf:** add reInit() method ([#2144](https://github.com/ionic-team/ionic-native/issues/2144)) ([7255795](https://github.com/ionic-team/ionic-native/commit/7255795)) + + + + +## [4.4.2](https://github.com/ionic-team/ionic-native/compare/v4.4.1...v4.4.2) (2017-11-15) + + + ## [4.4.1](https://github.com/ionic-team/ionic-native/compare/v4.4.0...v4.4.1) (2017-11-13) From 6cd97ca0eeb5c6890de18556533565672bef65d5 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:26:41 -0500 Subject: [PATCH 03/26] fix(core): fix issue with CordovaFunctionOverride decorator Decorator should not check if the method exists, only if the plugin exists --- src/@ionic-native/core/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/core/plugin.ts b/src/@ionic-native/core/plugin.ts index 4e5e6123..4118e482 100644 --- a/src/@ionic-native/core/plugin.ts +++ b/src/@ionic-native/core/plugin.ts @@ -230,7 +230,7 @@ export function wrapEventObservable(event: string, element: any = window): Obser export function overrideFunction(pluginObj: any, methodName: string, args: any[], opts: any = {}): Observable { return new Observable(observer => { - const availabilityCheck = checkAvailability(pluginObj, methodName); + const availabilityCheck = checkAvailability(pluginObj, null, pluginObj.constructor.getPluginName()); if (availabilityCheck === true) { const pluginInstance = getPlugin(pluginObj.constructor.getPluginRef()); From 3bb669b6ba31a0937abacd4e03b641bc0f657e3f Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:27:22 -0500 Subject: [PATCH 04/26] 4.6.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b46b9b5..b999205a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.5.0", + "version": "4.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5628c735..d4cc528f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.5.0", + "version": "4.6.0", "description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support", "homepage": "https://ionicframework.com/", "author": "Ionic Team (https://ionic.io)", From ca922761b699fa49c8ef0e75f2d379de58df1b0b Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:30:07 -0500 Subject: [PATCH 05/26] Update --- package-lock.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index b999205a..7de92d6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -60,6 +60,16 @@ "integrity": "sha512-El3+WJk2D/ppWNd2X05aiP5l2k4EwF7KwheknQZls+I26eSICoWRhRIJ56jGgw2dqNGQ5LtNajmBU2ajS28EvQ==", "dev": true }, + "JSONStream": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz", + "integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=", + "dev": true, + "requires": { + "jsonparse": "1.3.1", + "through": "2.3.8" + } + }, "abbrev": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -1581,8 +1591,8 @@ "integrity": "sha1-HxXOa4RPfKQUlcgZDAgzwwuLFpM=", "dev": true, "requires": { - "is-text-path": "1.0.1", "JSONStream": "1.3.1", + "is-text-path": "1.0.1", "lodash": "4.17.4", "meow": "3.7.0", "split2": "2.2.0", @@ -3866,16 +3876,6 @@ "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "dev": true }, - "JSONStream": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz", - "integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=", - "dev": true, - "requires": { - "jsonparse": "1.3.1", - "through": "2.3.8" - } - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -6242,15 +6242,6 @@ } } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -6262,6 +6253,15 @@ "strip-ansi": "3.0.1" } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "stringmap": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/stringmap/-/stringmap-0.2.2.tgz", From 8d4406ae82c0ea82f7932a158790a9de619cb465 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:30:16 -0500 Subject: [PATCH 06/26] 4.5.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7de92d6f..ebea6004 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.6.0", + "version": "4.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d4cc528f..17c92043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.6.0", + "version": "4.5.1", "description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support", "homepage": "https://ionicframework.com/", "author": "Ionic Team (https://ionic.io)", From 9d70ec025d4626cecd2641d93669025f49f378d2 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:30:24 -0500 Subject: [PATCH 07/26] chore(): update changelog --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aab53874..589a050b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [4.5.1](https://github.com/ionic-team/ionic-native/compare/v4.5.0...v4.5.1) (2017-12-12) + + +### Bug Fixes + +* **core:** fix issue with CordovaFunctionOverride decorator ([6cd97ca](https://github.com/ionic-team/ionic-native/commit/6cd97ca)) + + + # [4.5.0](https://github.com/ionic-team/ionic-native/compare/v4.4.2...v4.5.0) (2017-12-08) From 995fd56894234c9cdb0f9e873822d12313aa6e88 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Dec 2017 19:34:44 -0500 Subject: [PATCH 08/26] fix(push): fix finish method --- src/@ionic-native/plugins/push/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/push/index.ts b/src/@ionic-native/plugins/push/index.ts index b32cd06c..0d5d866d 100644 --- a/src/@ionic-native/plugins/push/index.ts +++ b/src/@ionic-native/plugins/push/index.ts @@ -414,9 +414,11 @@ export class PushObject { * iOS only * Tells the OS that you are done processing a background push notification. * successHandler gets called when background push processing is successfully completed. - * @param id + * @param [id] */ - @CordovaInstance() + @CordovaInstance({ + callbackOrder: 'reverse' + }) finish(id?: string): Promise { return; } /** From 8179805ad92c057c857ce9af292fa8e89c7df045 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:07:09 +0100 Subject: [PATCH 09/26] docs(camera): remove unsupported platforms (#2220) --- src/@ionic-native/plugins/camera/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index ac789d5d..5afb2021 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -161,7 +161,7 @@ export enum Direction { plugin: 'cordova-plugin-camera', pluginRef: 'navigator.camera', repo: 'https://github.com/apache/cordova-plugin-camera', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone 8'] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Camera extends IonicNativePlugin { From c0c044bf892c748d9b912109122c2c82ed25e0c5 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:07:26 +0100 Subject: [PATCH 10/26] docs(battery-status): remove unsupported platforms (#2218) --- src/@ionic-native/plugins/battery-status/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/battery-status/index.ts b/src/@ionic-native/plugins/battery-status/index.ts index 339503b6..d3999a49 100644 --- a/src/@ionic-native/plugins/battery-status/index.ts +++ b/src/@ionic-native/plugins/battery-status/index.ts @@ -49,7 +49,7 @@ export interface BatteryStatusResponse { plugin: 'cordova-plugin-battery-status', pluginRef: 'navigator.battery', repo: 'https://github.com/apache/cordova-plugin-battery-status', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows'] + platforms: ['iOS', 'Android', 'Windows', 'Browser'] }) @Injectable() export class BatteryStatus extends IonicNativePlugin { From f43a657fdd8e99964b92f9ca20b8dfae230fbc14 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:07:39 +0100 Subject: [PATCH 11/26] docs(contacts): remove unsupported platforms (#2221) --- src/@ionic-native/plugins/contacts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/contacts/index.ts b/src/@ionic-native/plugins/contacts/index.ts index f3e7f5d6..7fdb1562 100644 --- a/src/@ionic-native/plugins/contacts/index.ts +++ b/src/@ionic-native/plugins/contacts/index.ts @@ -294,7 +294,7 @@ export class ContactFindOptions implements IContactFindOptions { plugin: 'cordova-plugin-contacts', pluginRef: 'navigator.contacts', repo: 'https://github.com/apache/cordova-plugin-contacts', - platforms: ['Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone 8'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class Contacts extends IonicNativePlugin { From 35f6c15ad48183066ce493ada99bfab1e49092d3 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:07:48 +0100 Subject: [PATCH 12/26] docs(device): remove unsupported platforms (#2222) * docs(device): remove unsupported platforms * Update index.ts --- src/@ionic-native/plugins/device/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/device/index.ts b/src/@ionic-native/plugins/device/index.ts index 4a5caa2e..8f2b4cd6 100644 --- a/src/@ionic-native/plugins/device/index.ts +++ b/src/@ionic-native/plugins/device/index.ts @@ -24,7 +24,7 @@ declare const window: any; plugin: 'cordova-plugin-device', pluginRef: 'device', repo: 'https://github.com/apache/cordova-plugin-device', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'macOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'] }) @Injectable() export class Device extends IonicNativePlugin { From ac0015b91d8f066eb9bb07279e14d6083ec6129b Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:08:09 +0100 Subject: [PATCH 13/26] docs(dialogs): remove unsupported platforms (#2223) --- src/@ionic-native/plugins/dialogs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/dialogs/index.ts b/src/@ionic-native/plugins/dialogs/index.ts index 4c59e779..65710e89 100644 --- a/src/@ionic-native/plugins/dialogs/index.ts +++ b/src/@ionic-native/plugins/dialogs/index.ts @@ -46,7 +46,7 @@ export interface DialogsPromptCallback { plugin: 'cordova-plugin-dialogs', pluginRef: 'navigator.notification', repo: 'https://github.com/apache/cordova-plugin-dialogs', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Dialogs extends IonicNativePlugin { From 6f7cdf6214d378633825e409560b2047d03b0735 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:08:40 +0100 Subject: [PATCH 14/26] docs(file): remove unsupported platforms (#2224) --- src/@ionic-native/plugins/file/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/file/index.ts b/src/@ionic-native/plugins/file/index.ts index 4436fcb6..f6c7f06d 100644 --- a/src/@ionic-native/plugins/file/index.ts +++ b/src/@ionic-native/plugins/file/index.ts @@ -620,7 +620,7 @@ declare const window: Window; plugin: 'cordova-plugin-file', pluginRef: 'cordova.file', repo: 'https://github.com/apache/cordova-plugin-file', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'macOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'] }) @Injectable() export class File extends IonicNativePlugin { From 5e77ed9317d9ac53b4cb3f9137ff072e753533b0 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:08:54 +0100 Subject: [PATCH 15/26] docs(geolocation): remove unsupported platforms (#2225) * docs(geolocation): remove unsupported platforms * Update index.ts --- src/@ionic-native/plugins/geolocation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/geolocation/index.ts b/src/@ionic-native/plugins/geolocation/index.ts index 52e8f52d..7eded999 100644 --- a/src/@ionic-native/plugins/geolocation/index.ts +++ b/src/@ionic-native/plugins/geolocation/index.ts @@ -155,7 +155,7 @@ export interface GeolocationOptions { repo: 'https://github.com/apache/cordova-plugin-geolocation', install: 'ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"', installVariables: ['GEOLOCATION_USAGE_DESCRIPTION'], - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Geolocation extends IonicNativePlugin { From d256916621b4e48172018e9a1685edfb28503683 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:04 +0100 Subject: [PATCH 16/26] docs(globalization): remove unsupported platforms (#2226) * docs(globalization): remove unsupported platforms * Update index.ts --- src/@ionic-native/plugins/globalization/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/globalization/index.ts b/src/@ionic-native/plugins/globalization/index.ts index 29763d12..6ba8e97e 100644 --- a/src/@ionic-native/plugins/globalization/index.ts +++ b/src/@ionic-native/plugins/globalization/index.ts @@ -26,7 +26,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-globalization', pluginRef: 'navigator.globalization', repo: 'https://github.com/apache/cordova-plugin-globalization', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Globalization extends IonicNativePlugin { From ecc46bacf19695b25ec9dbc5ce012eb652a4cca5 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:17 +0100 Subject: [PATCH 17/26] docs(in-app-browser): remove unsupported platforms (#2227) --- src/@ionic-native/plugins/in-app-browser/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/in-app-browser/index.ts b/src/@ionic-native/plugins/in-app-browser/index.ts index 98c70b38..d4e0a1bf 100644 --- a/src/@ionic-native/plugins/in-app-browser/index.ts +++ b/src/@ionic-native/plugins/in-app-browser/index.ts @@ -181,7 +181,7 @@ export class InAppBrowserObject { plugin: 'cordova-plugin-inappbrowser', pluginRef: 'cordova.InAppBrowser', repo: 'https://github.com/apache/cordova-plugin-inappbrowser', - platforms: ['AmazonFire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'macOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['AmazonFire OS', 'Android', 'Browser', 'iOS', 'macOS', 'Windows'] }) @Injectable() export class InAppBrowser extends IonicNativePlugin { From e77bce67db95e2cb7820d06702bfdeb93542928c Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:26 +0100 Subject: [PATCH 18/26] docs(media): remove unsupported platforms (#2228) --- src/@ionic-native/plugins/media/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/media/index.ts b/src/@ionic-native/plugins/media/index.ts index 4cfbfc3b..d0036b17 100644 --- a/src/@ionic-native/plugins/media/index.ts +++ b/src/@ionic-native/plugins/media/index.ts @@ -284,7 +284,7 @@ export type MediaErrorCallback = (error: MediaError) => void; repo: 'https://github.com/apache/cordova-plugin-media', plugin: 'cordova-plugin-media', pluginRef: 'Media', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Media extends IonicNativePlugin { From eb6aee2d693615620a4f3d8c5055077babcaa274 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:34 +0100 Subject: [PATCH 19/26] docs(media-capture): remove unsupported platforms (#2229) --- src/@ionic-native/plugins/media-capture/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/media-capture/index.ts b/src/@ionic-native/plugins/media-capture/index.ts index 580e155c..f1c5c0d1 100644 --- a/src/@ionic-native/plugins/media-capture/index.ts +++ b/src/@ionic-native/plugins/media-capture/index.ts @@ -147,7 +147,7 @@ export interface ConfigurationData { plugin: 'cordova-plugin-media-capture', pluginRef: 'navigator.device.capture', repo: 'https://github.com/apache/cordova-plugin-media-capture', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class MediaCapture extends IonicNativePlugin { From 292a9c3722926a7a7d8bd42ca31f357f11280be4 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:42 +0100 Subject: [PATCH 20/26] docs(network-information): remove unsupported platforms (#2230) --- src/@ionic-native/plugins/network/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/network/index.ts b/src/@ionic-native/plugins/network/index.ts index 3249a3d3..3148bcd8 100644 --- a/src/@ionic-native/plugins/network/index.ts +++ b/src/@ionic-native/plugins/network/index.ts @@ -53,7 +53,7 @@ declare const navigator: any; plugin: 'cordova-plugin-network-information', pluginRef: 'navigator.connection', repo: 'https://github.com/apache/cordova-plugin-network-information', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Network extends IonicNativePlugin { From aa54444e332c3baeeff86cd48b0c1f08738c0c22 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:09:52 +0100 Subject: [PATCH 21/26] docs(splashscreen): remove unsupported platforms (#2231) --- src/@ionic-native/plugins/splash-screen/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/splash-screen/index.ts b/src/@ionic-native/plugins/splash-screen/index.ts index 94a2d18f..eb71f91e 100644 --- a/src/@ionic-native/plugins/splash-screen/index.ts +++ b/src/@ionic-native/plugins/splash-screen/index.ts @@ -23,7 +23,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-splashscreen', pluginRef: 'navigator.splashscreen', repo: 'https://github.com/apache/cordova-plugin-splashscreen', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows'] }) @Injectable() export class SplashScreen extends IonicNativePlugin { From a82b2903d6f9e78c0fb1188a2e194c5f27c25096 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:10:00 +0100 Subject: [PATCH 22/26] docs(statusbar): remove unsupported platforms (#2232) --- src/@ionic-native/plugins/status-bar/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/status-bar/index.ts b/src/@ionic-native/plugins/status-bar/index.ts index 480421d2..9d56deb4 100644 --- a/src/@ionic-native/plugins/status-bar/index.ts +++ b/src/@ionic-native/plugins/status-bar/index.ts @@ -29,7 +29,7 @@ import { Cordova, CordovaProperty, Plugin, IonicNativePlugin } from '@ionic-nati plugin: 'cordova-plugin-statusbar', pluginRef: 'StatusBar', repo: 'https://github.com/apache/cordova-plugin-statusbar', - platforms: ['Android', 'iOS', 'Windows', 'Windows Phone'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class StatusBar extends IonicNativePlugin { From 60d32be0958cb2f357a6354a174bfed54f05fc2b Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:10:07 +0100 Subject: [PATCH 23/26] docs(screen-orientation): remove unsupported platforms (#2233) --- src/@ionic-native/plugins/screen-orientation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/screen-orientation/index.ts b/src/@ionic-native/plugins/screen-orientation/index.ts index 1dd25267..99709bec 100644 --- a/src/@ionic-native/plugins/screen-orientation/index.ts +++ b/src/@ionic-native/plugins/screen-orientation/index.ts @@ -55,7 +55,7 @@ import { Observable } from 'rxjs/Observable'; plugin: 'cordova-plugin-screen-orientation', pluginRef: 'screen.orientation', repo: 'https://github.com/apache/cordova-plugin-screen-orientation', - platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class ScreenOrientation extends IonicNativePlugin { From 23578de056c21030e6c43a7ba94da7a9274391ee Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 28 Dec 2017 13:10:14 +0100 Subject: [PATCH 24/26] docs(vibration): remove unsupported platforms (#2234) --- src/@ionic-native/plugins/vibration/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/vibration/index.ts b/src/@ionic-native/plugins/vibration/index.ts index e09b678b..5d83e9da 100644 --- a/src/@ionic-native/plugins/vibration/index.ts +++ b/src/@ionic-native/plugins/vibration/index.ts @@ -33,7 +33,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-vibration', pluginRef: 'navigator', repo: 'https://github.com/apache/cordova-plugin-vibration', - platforms: ['Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class Vibration extends IonicNativePlugin { From 98db2e710cf41b1a68934aba2bfb445d5b7749b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Thu, 28 Dec 2017 13:10:34 +0100 Subject: [PATCH 25/26] docs(): deprecation notice (#2212) --- src/@ionic-native/plugins/file-transfer/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/@ionic-native/plugins/file-transfer/index.ts b/src/@ionic-native/plugins/file-transfer/index.ts index 41df16a6..0530d56d 100644 --- a/src/@ionic-native/plugins/file-transfer/index.ts +++ b/src/@ionic-native/plugins/file-transfer/index.ts @@ -112,6 +112,10 @@ export interface FileTransferError { * @description * This plugin allows you to upload and download files. * + * @deprecated + * This plugin has been deprecated in favor of XHR2 + * https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html + * * @usage * ```typescript * import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer'; From 9990df895333292b7791cb59bc97b7deb22a6fdb Mon Sep 17 00:00:00 2001 From: Jay Ordway Date: Thu, 28 Dec 2017 06:11:10 -0600 Subject: [PATCH 26/26] feat(crop): add targetHeight and targetWidth options (#2213) Adding support for targetHeight and targetWidth options --- src/@ionic-native/plugins/crop/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/crop/index.ts b/src/@ionic-native/plugins/crop/index.ts index 52c5c041..ab5242ff 100644 --- a/src/@ionic-native/plugins/crop/index.ts +++ b/src/@ionic-native/plugins/crop/index.ts @@ -38,6 +38,6 @@ export class Crop extends IonicNativePlugin { @Cordova({ callbackOrder: 'reverse' }) - crop(pathToImage: string, options?: { quality: number }): Promise { return; } + crop(pathToImage: string, options?: { quality: number, targetHeight: number, targetWidth: number }): Promise { return; } }