From 336b3ff89b0f46f254787b8c02485d417949fea9 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Wed, 17 Oct 2018 19:53:22 +0200 Subject: [PATCH] fix(local-notifications): add missing functions (#2779) closes: #2778 --- .../plugins/local-notifications/index.ts | 28 +++---------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/src/@ionic-native/plugins/local-notifications/index.ts b/src/@ionic-native/plugins/local-notifications/index.ts index 8e98036c8..983d02280 100755 --- a/src/@ionic-native/plugins/local-notifications/index.ts +++ b/src/@ionic-native/plugins/local-notifications/index.ts @@ -653,26 +653,6 @@ export class LocalNotifications extends IonicNativePlugin { return; } - /** - * Get a scheduled notification object - * @param notificationId {any} The id of the notification to get - * @returns {Promise} - */ - @Cordova() - getScheduled(notificationId: any): Promise { - return; - } - - /** - * Get a triggered notification object - * @param notificationId The id of the notification to get - * @returns {Promise} - */ - @Cordova() - getTriggered(notificationId: any): Promise { - return; - } - /** * Adds a group of actions * @param groupId The id of the action group @@ -727,20 +707,20 @@ export class LocalNotifications extends IonicNativePlugin { } /** - * Get all scheduled notification objects + * List of all scheduled notifications * @returns {Promise>} */ @Cordova() - getAllScheduled(): Promise { + getScheduled(): Promise { return; } /** - * Get all triggered notification objects + * List of all triggered notifications * @returns {Promise>} */ @Cordova() - getAllTriggered(): Promise { + getTriggered(): Promise { return; }