Merge remote-tracking branch 'origin/master' into v5

This commit is contained in:
Daniel
2018-03-17 01:29:14 +01:00
21 changed files with 352 additions and 204 deletions
+10 -9
View File
@@ -219,6 +219,7 @@ export interface Channel {
id: string;
description: string;
importance: Priority;
sound?: string;
}
export type PushEvent = string;
@@ -336,19 +337,19 @@ export class Push extends IonicNativePlugin {
* Create a new notification channel for Android O and above.
* @param channel {Channel}
*/
@Cordova()
createChannel(channel: Channel): Promise<any> {
return;
}
@Cordova({
callbackOrder: 'reverse'
})
createChannel(channel?: Channel): Promise<any> { return; }
/**
* Delete a notification channel for Android O and above.
* @param id
* @param id {string}
*/
@Cordova()
deleteChannel(id: string): Promise<any> {
return;
}
@Cordova({
callbackOrder: 'reverse'
})
deleteChannel(id?: string): Promise<any> { return; }
/**
* Returns a list of currently configured channels.