firebase-x: Add missing function reloadCurrentUser() (#3527)

This commit is contained in:
Ville Raikko 2020-09-10 15:28:32 +03:00 committed by GitHub
parent adca021f39
commit 36ae7dcad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ export class FirebaseX extends IonicNativePlugin {
getId(): Promise<null | string> {
return;
}
/**
* Get the current FCM user.
* @return {Promise<FirebaseUser | string>}
@ -178,6 +178,15 @@ export class FirebaseX extends IonicNativePlugin {
getCurrentUser(): Promise<FirebaseUser | string> {
return;
}
/**
* Reload the current FCM user.
* @return {Promise<FirebaseUser | string>}
*/
@Cordova()
reloadCurrentUser(): Promise<FirebaseUser | string> {
return;
}
/**
* Get notified when a token is refreshed.