mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +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;
|
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
|
* Returns a promise that fulfills with the current FCM token
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user