3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-04-13 11:33:08 +08:00

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

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

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