Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(local-notifications): add missing functions #2779

Merged
merged 1 commit into from
Oct 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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