Skip to content

Commit

Permalink
firebase-x: Add missing function reloadCurrentUser() (#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
villeraikko authored Sep 10, 2020
1 parent adca021 commit 36ae7dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/@ionic-native/plugins/firebase-x/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class FirebaseX extends IonicNativePlugin {
getId(): Promise<null | string> {
return;
}

/**
* Get the current FCM user.
* @return {Promise<FirebaseUser | string>}
Expand All @@ -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.
Expand Down

0 comments on commit 36ae7dc

Please sign in to comment.