From 3ef9593704080ad6a47c71e68191a5547a031792 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 18 Sep 2018 09:30:09 +0200 Subject: [PATCH 01/14] fix(push): add missing Chanel options closes: #2712 --- src/@ionic-native/plugins/push/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/@ionic-native/plugins/push/index.ts b/src/@ionic-native/plugins/push/index.ts index 9cf05c66..45c59edd 100644 --- a/src/@ionic-native/plugins/push/index.ts +++ b/src/@ionic-native/plugins/push/index.ts @@ -221,12 +221,15 @@ export interface PushOptions { } export type Priority = 1 | 2 | 3 | 4 | 5; +export type Visibility = 0 | 1 | -1; export interface Channel { id: string; description: string; importance: Priority; sound?: string; + vibration?: boolean | number[]; + visibility?: Visibility; } export type PushEvent = string; From 8bab32173a738fc4c8960b63bcf1800602eed108 Mon Sep 17 00:00:00 2001 From: Rishi Hindocha Date: Tue, 18 Sep 2018 08:40:55 +0100 Subject: [PATCH 02/14] fix(onesignal): add missing setLocationShared method (#2723) * fix(onesignal): add missing setLocationShared method * Update index.ts --- src/@ionic-native/plugins/onesignal/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 641d1165..4eab0a1a 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -668,6 +668,13 @@ export class OneSignal extends IonicNativePlugin { @Cordova({ sync: true }) setLogLevel(logLevel: { logLevel: number; visualLevel: number }): void {} + /** + * Disable or enable location collection (Defaults to enabled) if your app has location permission. + * @param shared {boolean} + */ + @Cordova({ sync: true }) + setLocationShared(shared: boolean): void {} + /** * The passed in function will be fired when a notification permission setting changes. * This includes the following events: From 51006a76a0cea1d762ebd786b4a647c86fb26dbc Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 10:05:34 +0200 Subject: [PATCH 03/14] feat(onesignal): add missing functions closes: #2504 --- src/@ionic-native/plugins/onesignal/index.ts | 57 ++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 4eab0a1a..2ec3b354 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -706,9 +706,66 @@ export class OneSignal extends IonicNativePlugin { return; } + /** + * Allows you to set the user's email address with the OneSignal SDK. + * @param {string} email Email address + * @param {string} [emailAuthToken] Email auth token + */ + @Cordova() + setEmail(email: string, emailAuthToken?: string): Promise { + return; + } + + /** + * If your app implements logout functionality, you can call logoutEmail to dissociate the email from the device + */ + @Cordova() + logoutEmail(): Promise { + return; + } + + /** + * The passed in function will be fired when a notification subscription property changes. + * This includes the following events: + * - Getting a push token from Apple / Google. + * - Getting a player / user id from OneSignal + * - OneSignal.setSubscription is called + * - User disables or enables notifications + * @return {Observable} + */ + @Cordova({ + observable: true + }) + addEmailSubscriptionObserver(): Observable { + return; + } + /** * Clears all OneSignal notifications */ @Cordova({ sync: true }) clearOneSignalNotifications(): void {} + + /** + * Allows you to delay the initialization of the SDK until the user provides privacy consent. + * The SDK will not be fully initialized until the provideUserConsent(true) method is called. + * @param {boolean} required + */ + @Cordova() + setRequiresUserPrivacyConsent(required: boolean): void {} + + /** + * If your application is set to require the user's privacy consent, you can provide this consent using this method. + * Until you call provideUserConsent(true), the SDK will not fully initialize and will not send any data to OneSignal. + * @param {boolean} granted + */ + @Cordova() + provideUserConsent(granted: boolean): void {} + + /** + * Accepts a callback, which returns a boolean variable indicating if the user has given privacy consent yet. + * @param {Function} callback + */ + @Cordova() + userProvidedPrivacyConsent(callback: Function): void {} } From ab4f1f5bbeeb92eada8c8863acc3bb179551919e Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 10:08:24 +0200 Subject: [PATCH 04/14] docs(onesignal): hide option from docs closes: #1969 --- src/@ionic-native/plugins/onesignal/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 2ec3b354..51d64e81 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -415,6 +415,7 @@ export enum OSActionType { export class OneSignal extends IonicNativePlugin { /** * constants to use in inFocusDisplaying() + * @hidden */ OSInFocusDisplayOption = { None: 0, From 3699fa9b50ade1dfbb116bff5c0e66f1198bed0e Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 18 Sep 2018 10:12:27 +0200 Subject: [PATCH 05/14] fix(mobile-accessibility): add correct pluginRef closes: #1860 --- src/@ionic-native/plugins/mobile-accessibility/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/mobile-accessibility/index.ts b/src/@ionic-native/plugins/mobile-accessibility/index.ts index a37261aa..8e0774c7 100644 --- a/src/@ionic-native/plugins/mobile-accessibility/index.ts +++ b/src/@ionic-native/plugins/mobile-accessibility/index.ts @@ -23,7 +23,7 @@ import { Injectable } from '@angular/core'; @Plugin({ pluginName: 'MobileAccessibility', plugin: 'phonegap-plugin-mobile-accessibility', - pluginRef: 'MobileAccessibility', + pluginRef: 'window.MobileAccessibility', repo: 'https://github.com/phonegap/phonegap-mobile-accessibility', platforms: ['Android Fire OS', 'Android', 'iOS', 'Windows'] }) From 49d27e816cd9737e6ce2e5630313ccc2e1bb9e8c Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 11:03:02 +0200 Subject: [PATCH 06/14] refactor(email-composer): reorder code --- .../plugins/email-composer/index.ts | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/@ionic-native/plugins/email-composer/index.ts b/src/@ionic-native/plugins/email-composer/index.ts index a7f794ef..3891c259 100644 --- a/src/@ionic-native/plugins/email-composer/index.ts +++ b/src/@ionic-native/plugins/email-composer/index.ts @@ -117,6 +117,30 @@ export interface EmailComposerOptions { }) @Injectable() export class EmailComposer extends IonicNativePlugin { + /** + * Checks if the app has a permission to access email accounts information + * @return {Promise} returns a promise that resolves with a boolean that indicates if the permission was granted + */ + @Cordova({ + successIndex: 0, + errorIndex: 2 + }) + hasPermission(): Promise { + return; + } + + /** + * Request permission to access email accounts information + * @return {Promise} returns a promise that resolves with a boolean that indicates if the permission was granted + */ + @Cordova({ + successIndex: 0, + errorIndex: 2 + }) + requestPermission(): Promise { + return; + } + /** * Verifies if sending emails is supported on the device. * @@ -146,39 +170,6 @@ export class EmailComposer extends IonicNativePlugin { }); } - /** - * Request permission to access email accounts information - * @return {Promise} returns a promise that resolves with a boolean that indicates if the permission was granted - */ - @Cordova({ - successIndex: 0, - errorIndex: 2 - }) - requestPermission(): Promise { - return; - } - - /** - * Checks if the app has a permission to access email accounts information - * @return {Promise} returns a promise that resolves with a boolean that indicates if the permission was granted - */ - @Cordova({ - successIndex: 0, - errorIndex: 2 - }) - hasPermission(): Promise { - return; - } - - /** - * Adds a new mail app alias. - * - * @param {string} alias The alias name - * @param {string} packageName The package name - */ - @Cordova() - addAlias(alias: string, packageName: string): void {} - /** * Displays the email composer pre-filled with data. * @@ -193,4 +184,13 @@ export class EmailComposer extends IonicNativePlugin { open(options: EmailComposerOptions, scope?: any): Promise { return; } + + /** + * Adds a new mail app alias. + * + * @param {string} alias The alias name + * @param {string} packageName The package name + */ + @Cordova() + addAlias(alias: string, packageName: string): void {} } From d077c482055a28ca5c117b983d303b86c6e6c543 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 11:08:45 +0200 Subject: [PATCH 07/14] fix(web-intent): add missing properties closes: #2701 --- src/@ionic-native/plugins/web-intent/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/@ionic-native/plugins/web-intent/index.ts b/src/@ionic-native/plugins/web-intent/index.ts index e95a1f10..aa76e206 100644 --- a/src/@ionic-native/plugins/web-intent/index.ts +++ b/src/@ionic-native/plugins/web-intent/index.ts @@ -127,6 +127,20 @@ export class WebIntent extends IonicNativePlugin { @CordovaProperty ACTION_PICK: string; + /** + * Convenience constant for actions + * @type {string} + */ + @CordovaProperty + ACTION_INSTALL_PACKAGE: string; + + /** + * Convenience constant for actions + * @type {string} + */ + @CordovaProperty + ACTION_UNINSTALL_PACKAGE: string; + /** * Launches an Android intent * @param options {IntentOptions} From aecb0f9460b0fd31c9c8c098b91aac8d35a6acd9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 15:17:21 +0200 Subject: [PATCH 08/14] chore(package): bump dgeni --- package-lock.json | 46 ++++++++++++++++------------------------------ package.json | 2 +- 2 files changed, 17 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index 43a92146..645aded8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2923,9 +2923,9 @@ "dev": true }, "dependency-graph": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.4.1.tgz", - "integrity": "sha1-MC5YIY2FxRqXY4cw2/m32FKhlpM=", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.7.2.tgz", + "integrity": "sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ==", "dev": true }, "deprecated": { @@ -2963,34 +2963,20 @@ } }, "dgeni": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/dgeni/-/dgeni-0.4.7.tgz", - "integrity": "sha1-UHBifdKPiNSABuIfVa+xipy4vmg=", + "version": "0.4.10", + "resolved": "https://registry.npmjs.org/dgeni/-/dgeni-0.4.10.tgz", + "integrity": "sha512-In8huU+6W+Rd7MdfzhQoRbntF4AsJgtbwRUTyfPgvhaC3RGJX/YOEkMnn7vLLk3zaCrEkIQGW6eADoudpnBceg==", "dev": true, "requires": { "canonical-path": "~0.0.2", - "dependency-graph": "~0.4.1", + "dependency-graph": "^0.7.0", "di": "0.0.1", - "lodash": "^3.10.1", + "lodash": "^4.17.10", "objectdiff": "^1.1.0", "optimist": "~0.6.1", - "q": "~1.4.1", - "validate.js": "^0.9.0", + "q": "^1.5.1", + "validate.js": "^0.12.0", "winston": "^2.1.1" - }, - "dependencies": { - "lodash": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", - "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", - "dev": true - }, - "q": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=", - "dev": true - } } }, "dgeni-packages": { @@ -11589,9 +11575,9 @@ } }, "validate.js": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/validate.js/-/validate.js-0.9.0.tgz", - "integrity": "sha1-is8BRPFSChmDXGzGY/ReCDaqVsg=", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/validate.js/-/validate.js-0.12.0.tgz", + "integrity": "sha512-/x2RJSvbqEyxKj0RPN4xaRquK+EggjeVXiDDEyrJzsJogjtiZ9ov7lj/svVb4DM5Q5braQF4cooAryQbUwOxlA==", "dev": true }, "verror": { @@ -11757,9 +11743,9 @@ "optional": true }, "winston": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.0.tgz", - "integrity": "sha1-gIBQuT1SZh7Z+2wms/DIJnCLCu4=", + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.4.tgz", + "integrity": "sha512-NBo2Pepn4hK4V01UfcWcDlmiVTs7VTB1h7bgnB0rgP146bYhMxX0ypCz3lBOfNxCO4Zuek7yeT+y/zM1OfMw4Q==", "dev": true, "requires": { "async": "~1.0.0", diff --git a/package.json b/package.json index ab7e93ef..cf29acbe 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "child-process-promise": "2.2.1", "conventional-changelog-cli": "^2.0.5", "cz-conventional-changelog": "^2.1.0", - "dgeni": "0.4.7", + "dgeni": "^0.4.10", "dgeni-packages": "0.16.10", "fs-extra": "^7.0.0", "gulp": "3.9.1", From 640da1b61852889a1bd273de94030f320f4c2acc Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 15:22:17 +0200 Subject: [PATCH 09/14] docs(ibeacon): typo --- src/@ionic-native/plugins/ibeacon/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/ibeacon/index.ts b/src/@ionic-native/plugins/ibeacon/index.ts index d23a8c23..959d4b1d 100644 --- a/src/@ionic-native/plugins/ibeacon/index.ts +++ b/src/@ionic-native/plugins/ibeacon/index.ts @@ -266,7 +266,7 @@ export interface IBeaconDelegate { * * this.ibeacon.startMonitoringForRegion(beaconRegion) * .then( - * () => console.log('Native layer recieved the request to monitoring'), + * () => console.log('Native layer received the request to monitoring'), * error => console.error('Native layer failed to begin monitoring: ', error) * ); * ``` From 10d222dceaed6bf372bec4ebaba0080946048294 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 15:37:39 +0200 Subject: [PATCH 10/14] feat(local-notifications): add missing functions --- .../plugins/local-notifications/index.ts | 133 ++++++++++-------- 1 file changed, 75 insertions(+), 58 deletions(-) diff --git a/src/@ionic-native/plugins/local-notifications/index.ts b/src/@ionic-native/plugins/local-notifications/index.ts index 38dbd7d5..8e98036c 100755 --- a/src/@ionic-native/plugins/local-notifications/index.ts +++ b/src/@ionic-native/plugins/local-notifications/index.ts @@ -483,6 +483,24 @@ export interface ILocalNotification { }) @Injectable() export class LocalNotifications extends IonicNativePlugin { + /** + * Informs if the app has the permission to show notifications. + * @returns {Promise} + */ + @Cordova() + hasPermission(): Promise { + return; + } + + /** + * Request permission to show notifications if not already granted. + * @returns {Promise} + */ + @Cordova() + requestPermission(): Promise { + return; + } + /** * Schedules a single or multiple notifications * @param options {Notification | Array} optional @@ -569,6 +587,26 @@ export class LocalNotifications extends IonicNativePlugin { return; } + /** + * Check if a notification has a given type. + * @param {number} id The ID of the notification. + * @param {string} type The type of the notification. + * @returns {Promise} + */ + @Cordova() + hasType(id: number, type: string): Promise { + return; + } + + /** + * Get the type (triggered, scheduled) for the notification. + * @param {number} id The ID of the notification. + */ + @Cordova() + getType(id: number): Promise { + return; + } + /** * Get all the notification ids * @returns {Promise>} @@ -578,15 +616,6 @@ export class LocalNotifications extends IonicNativePlugin { return; } - /** - * Get the ids of triggered notifications - * @returns {Promise>} - */ - @Cordova() - getTriggeredIds(): Promise { - return; - } - /** * Get the ids of scheduled notifications * @returns {Promise>} Returns a promise @@ -596,6 +625,15 @@ export class LocalNotifications extends IonicNativePlugin { return; } + /** + * Get the ids of triggered notifications + * @returns {Promise>} + */ + @Cordova() + getTriggeredIds(): Promise { + return; + } + /** * Get a notification object * @param notificationId {any} The id of the notification to get @@ -606,6 +644,15 @@ export class LocalNotifications extends IonicNativePlugin { return; } + /** + * Get all notification objects + * @returns {Promise>} + */ + @Cordova() + getAll(): Promise { + return; + } + /** * Get a scheduled notification object * @param notificationId {any} The id of the notification to get @@ -626,51 +673,6 @@ export class LocalNotifications extends IonicNativePlugin { return; } - /** - * Get all notification objects - * @returns {Promise>} - */ - @Cordova() - getAll(): Promise { - return; - } - - /** - * Get all scheduled notification objects - * @returns {Promise>} - */ - @Cordova() - getAllScheduled(): Promise { - return; - } - - /** - * Get all triggered notification objects - * @returns {Promise>} - */ - @Cordova() - getAllTriggered(): Promise { - return; - } - - /** - * Request permission to show notifications if not already granted. - * @returns {Promise} - */ - @Cordova() - requestPermission(): Promise { - return; - } - - /** - * Informs if the app has the permission to show notifications. - * @returns {Promise} - */ - @Cordova() - hasPermission(): Promise { - return; - } - /** * Adds a group of actions * @param groupId The id of the action group @@ -678,10 +680,7 @@ export class LocalNotifications extends IonicNativePlugin { * @returns {Promise} */ @Cordova() - addActions( - groupId: any, - actions: ILocalNotificationAction[] - ): Promise { + addActions(groupId: any, actions: ILocalNotificationAction[]): Promise { return; } @@ -727,6 +726,24 @@ export class LocalNotifications extends IonicNativePlugin { return; } + /** + * Get all scheduled notification objects + * @returns {Promise>} + */ + @Cordova() + getAllScheduled(): Promise { + return; + } + + /** + * Get all triggered notification objects + * @returns {Promise>} + */ + @Cordova() + getAllTriggered(): Promise { + return; + } + /** * Sets a callback for a specific event * @param eventName {string} The name of the event. Available events: schedule, trigger, click, update, clear, clearall, cancel, cancelall. Custom event names are possible for actions From 04db233b338936075500b4c85e050d24b80c60f5 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 15:58:57 +0200 Subject: [PATCH 11/14] feat(chooster): add plugin closes: #2612 --- src/@ionic-native/plugins/chooser/index.ts | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/@ionic-native/plugins/chooser/index.ts diff --git a/src/@ionic-native/plugins/chooser/index.ts b/src/@ionic-native/plugins/chooser/index.ts new file mode 100644 index 00000000..2b973204 --- /dev/null +++ b/src/@ionic-native/plugins/chooser/index.ts @@ -0,0 +1,67 @@ +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; + +export interface ChooserResult { + data: Uint8Array; + dataURI: string; + mediaType: string; + name: string; + uri: string; +} + +/** + * @name Chooser + * @description + * File chooser plugin for Cordova. + * + * The following must be added to config.xml to prevent crashing when selecting large files on Android: + * ```xml + * + * + * + * + * + * ``` + * + * @usage + * ```typescript + * import { Chooser } from '@ionic-native/chooser'; + * + * + * constructor(private chooser: Chooser) { } + * + * ... + * + * + * this.chooser.getFile() + * .then(file => console.log(file ? file.name : 'canceled')) + * .catch((error: any) => console.error(error)); + * + * ``` + * + * @interfaces + * ChooserResult + */ +@Plugin({ + pluginName: 'Chooser', + plugin: 'cordova-plugin-chooser', + pluginRef: 'chooser', + repo: 'https://github.com/cyph/cordova-plugin-chooser', + platforms: ['Android', 'iOS'] +}) +@Injectable() +export class Chooser extends IonicNativePlugin { + /** + * Displays native prompt for user to select a file. + * @param {string} [accept] Optional MIME type filter (e.g. 'image/gif,video/*'). + * @return {Promise} Promise containing selected file's raw binary data, + * base64-encoded data: URI, MIME type, display name, and original URI. + */ + @Cordova() + getFile(accept: string): Promise { + return; + } +} From 89631a9fa6a4a1eff3fcd5c354568006a7e81b38 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 16:03:29 +0200 Subject: [PATCH 12/14] 4.14.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 645aded8..da340453 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.13.0", + "version": "4.14.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index cf29acbe..6390017b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ionic-native", - "version": "4.13.0", + "version": "4.14.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 41c034cc193025cab76248f907116bd4db99d799 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 16:03:39 +0200 Subject: [PATCH 13/14] chore(): update changelog --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c9d5cf..3b6d7ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ + +# [4.14.0](https://github.com/ionic-team/ionic-native/compare/v4.13.0...v4.14.0) (2018-09-18) + + +### Bug Fixes + +* **mobile-accessibility:** add correct pluginRef ([3699fa9](https://github.com/ionic-team/ionic-native/commit/3699fa9)), closes [#1860](https://github.com/ionic-team/ionic-native/issues/1860) +* **onesignal:** add missing setLocationShared method ([#2723](https://github.com/ionic-team/ionic-native/issues/2723)) ([8bab321](https://github.com/ionic-team/ionic-native/commit/8bab321)) +* **push:** add missing Chanel options ([3ef9593](https://github.com/ionic-team/ionic-native/commit/3ef9593)), closes [#2712](https://github.com/ionic-team/ionic-native/issues/2712) +* **web-intent:** add missing properties ([d077c48](https://github.com/ionic-team/ionic-native/commit/d077c48)), closes [#2701](https://github.com/ionic-team/ionic-native/issues/2701) + + +### Features + +* **chooster:** add plugin ([04db233](https://github.com/ionic-team/ionic-native/commit/04db233)), closes [#2612](https://github.com/ionic-team/ionic-native/issues/2612) +* **local-notifications:** add missing functions ([10d222d](https://github.com/ionic-team/ionic-native/commit/10d222d)) +* **onesignal:** add missing functions ([51006a7](https://github.com/ionic-team/ionic-native/commit/51006a7)), closes [#2504](https://github.com/ionic-team/ionic-native/issues/2504) + + + # [4.13.0](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.17...v4.13.0) (2018-09-15) From fe9655ed84fec9ecdb9fa53a96cfe31196e17a8a Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Sep 2018 16:08:49 +0200 Subject: [PATCH 14/14] chore(build): fix publish script --- scripts/build/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/publish.js b/scripts/build/publish.js index 449b7a19..bf7560c1 100644 --- a/scripts/build/publish.js +++ b/scripts/build/publish.js @@ -10,7 +10,7 @@ const ROOT = path.resolve(path.join(__dirname, '../../')), const FLAGS = '--access public'; // add any flags here if you want... (example: --tag alpha) -const PACKAGES = fs.readdir(DIST); +const PACKAGES = fs.readdirSync(DIST); const failedPackages = [];