Skip to content

Commit

Permalink
feat(firebase-messaging): add revokeToken function (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyShober authored and danielsogl committed Oct 14, 2018
1 parent 00a1674 commit 1a2dc3e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/@ionic-native/plugins/firebase-messaging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 1a2dc3e

Please sign in to comment.