feat(firebase-messaging): add getInstanceId (#3364)

This commit is contained in:
Andrew Decker
2020-04-15 14:24:04 -05:00
committed by GitHub
parent 96e9b19732
commit e1350a2e7e
@@ -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<string> {
return;
}
/**
* Returns a promise that fulfills with the current FCM token
*