Skip to content

Commit

Permalink
fix(loco-notifications): add missing functions
Browse files Browse the repository at this point in the history
closes: #2778
  • Loading branch information
danielsogl committed Oct 17, 2018
1 parent a167bd8 commit d77c2f8
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions src/@ionic-native/plugins/local-notifications/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ILocalNotification>}
*/
@Cordova()
getScheduled(notificationId: any): Promise<ILocalNotification> {
return;
}

/**
* Get a triggered notification object
* @param notificationId The id of the notification to get
* @returns {Promise<ILocalNotification>}
*/
@Cordova()
getTriggered(notificationId: any): Promise<ILocalNotification> {
return;
}

/**
* Adds a group of actions
* @param groupId The id of the action group
Expand Down Expand Up @@ -727,20 +707,20 @@ export class LocalNotifications extends IonicNativePlugin {
}

/**
* Get all scheduled notification objects
* List of all scheduled notifications
* @returns {Promise<Array<ILocalNotification>>}
*/
@Cordova()
getAllScheduled(): Promise<ILocalNotification[]> {
getScheduled(): Promise<ILocalNotification[]> {
return;
}

/**
* Get all triggered notification objects
* List of all triggered notifications
* @returns {Promise<Array<ILocalNotification>>}
*/
@Cordova()
getAllTriggered(): Promise<ILocalNotification[]> {
getTriggered(): Promise<ILocalNotification[]> {
return;
}

Expand Down

0 comments on commit d77c2f8

Please sign in to comment.