feat(firebase-messaging): add revokeToken function (#2763)

This commit is contained in:
BradyShober 2018-10-14 07:30:00 -04:00 committed by Daniel Sogl
parent 00a1674fd6
commit 1a2dc3ee73

View File

@ -133,4 +133,14 @@ export class FirebaseMessaging extends IonicNativePlugin {
setBadge(value: number): Promise<null> { setBadge(value: number): Promise<null> {
return; return;
} }
/**
* Revoke the current FCM token.
*
* @returns {Promise<null>}
*/
@Cordova({ sync: true })
revokeToken(): Promise<null> {
return;
}
} }