mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
feat(firebase-messaging): add revokeToken function (#2763)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user