mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 10:36:14 +08:00
feat(firebase-messaging): add getInstanceId (#3364)
This commit is contained in:
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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user