Skip to content

Commit

Permalink
feat(firebase): add clearAllNotifications method (#2867)
Browse files Browse the repository at this point in the history
* feat(firebase): add clearAllNotifications method

Added new method clearAllNotifications()

https://github.com/arnesson/cordova-plugin-firebase/blob/master/docs/API.md#clearAllNotifications

* remove trailing whitespace
  • Loading branch information
retreatnot authored and danielsogl committed Jan 19, 2019
1 parent 7d3ddf8 commit 7c46d8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/@ionic-native/plugins/firebase/index.ts
Expand Up @@ -338,4 +338,12 @@ export class Firebase extends IonicNativePlugin {
): Promise<any> {
return;
}

/**
* Clear all pending notifications from the drawer
* @return {Promise<any>}
*/
clearAllNotifications(): Promise<any> {
return;
}
}

0 comments on commit 7c46d8c

Please sign in to comment.