diff --git a/src/@ionic-native/plugins/local-notifications/index.ts b/src/@ionic-native/plugins/local-notifications/index.ts index fbaeb9c99..3d3bcfeb4 100644 --- a/src/@ionic-native/plugins/local-notifications/index.ts +++ b/src/@ionic-native/plugins/local-notifications/index.ts @@ -324,5 +324,15 @@ export class LocalNotifications extends IonicNativePlugin { }) on(eventName: string, callback: any): void { } + /** + * Removes a callback of a specific event + * @param eventName The name of the event. Available events: schedule, trigger, click, update, clear, clearall, cancel, cancelall + * @param callback Call back function. All events return notification and state parameter. clear and clearall return state parameter only. + */ + @Cordova({ + sync: true + }) + un(eventName: string, callback: any): void { } + }