mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(firebase-x): add getId (#3388)
* feat(firebase-x): add getId add getId to get app instance id. fixes #3378 * Update index.ts
This commit is contained in:
parent
e09592d2b9
commit
3d46715b9c
@ -119,6 +119,15 @@ export class FirebaseX extends IonicNativePlugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the app instance ID (an constant ID which persists as long as the app is not uninstalled/reinstalled)
|
||||||
|
* @return {Promise<null | string>} Note that ID will be null if it has not been established yet
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
getId(): Promise<null | string> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get notified when a token is refreshed.
|
* Get notified when a token is refreshed.
|
||||||
* @return {Observable<any>}
|
* @return {Observable<any>}
|
||||||
|
Loading…
Reference in New Issue
Block a user