From e1350a2e7ea7bcab1ffd27d2f5508b46c47e31b9 Mon Sep 17 00:00:00 2001 From: Andrew Decker Date: Wed, 15 Apr 2020 14:24:04 -0500 Subject: [PATCH] feat(firebase-messaging): add getInstanceId (#3364) --- src/@ionic-native/plugins/firebase-messaging/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/@ionic-native/plugins/firebase-messaging/index.ts b/src/@ionic-native/plugins/firebase-messaging/index.ts index dce189f59..5a48e36b1 100644 --- a/src/@ionic-native/plugins/firebase-messaging/index.ts +++ b/src/@ionic-native/plugins/firebase-messaging/index.ts @@ -101,6 +101,14 @@ export class FirebaseMessaging extends IonicNativePlugin { return; } + /** + * Returns a promise thaf fulfills with the device instance ID + */ + @Cordova({ sync: true }) + getInstanceId(): Promise { + return; + } + /** * Returns a promise that fulfills with the current FCM token *