Merge branch 'master' into v5

This commit is contained in:
Daniel Sogl
2019-01-20 17:37:35 +01:00
parent 34ecd29d9f
commit a9dbb23b23
15 changed files with 2567 additions and 322 deletions
@@ -19,6 +19,9 @@ import { Observable } from 'rxjs';
* .then(token => console.log(`The token is ${token}`)) // save the token server-side and use it to push notifications to this device
* .catch(error => console.error('Error getting token', error));
*
* this.firebase.onNotificationOpen()
* .subscribe(data => console.log(`User opened a notification ${data}`));
*
* this.firebase.onTokenRefresh()
* .subscribe((token: string) => console.log(`Got a new token ${token}`));
*
@@ -335,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;
}
}