From 1a2dc3ee73e5ec93144a62a8850fffa0ee5eaeaf Mon Sep 17 00:00:00 2001 From: BradyShober <32466298+BradyShober@users.noreply.github.com> Date: Sun, 14 Oct 2018 07:30:00 -0400 Subject: [PATCH] feat(firebase-messaging): add revokeToken function (#2763) --- src/@ionic-native/plugins/firebase-messaging/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/@ionic-native/plugins/firebase-messaging/index.ts b/src/@ionic-native/plugins/firebase-messaging/index.ts index 2e4ef50fd6..83b68ac396 100644 --- a/src/@ionic-native/plugins/firebase-messaging/index.ts +++ b/src/@ionic-native/plugins/firebase-messaging/index.ts @@ -133,4 +133,14 @@ export class FirebaseMessaging extends IonicNativePlugin { setBadge(value: number): Promise { return; } + + /** + * Revoke the current FCM token. + * + * @returns {Promise} + */ + @Cordova({ sync: true }) + revokeToken(): Promise { + return; + } }