From 36ae7dcad9d3dd794f1018237d7abd710ccb272e Mon Sep 17 00:00:00 2001 From: Ville Raikko <30502048+villeraikko@users.noreply.github.com> Date: Thu, 10 Sep 2020 15:28:32 +0300 Subject: [PATCH] firebase-x: Add missing function reloadCurrentUser() (#3527) --- src/@ionic-native/plugins/firebase-x/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/firebase-x/index.ts b/src/@ionic-native/plugins/firebase-x/index.ts index 9486fcc6..7a230ddd 100644 --- a/src/@ionic-native/plugins/firebase-x/index.ts +++ b/src/@ionic-native/plugins/firebase-x/index.ts @@ -169,7 +169,7 @@ export class FirebaseX extends IonicNativePlugin { getId(): Promise { return; } - + /** * Get the current FCM user. * @return {Promise} @@ -178,6 +178,15 @@ export class FirebaseX extends IonicNativePlugin { getCurrentUser(): Promise { return; } + + /** + * Reload the current FCM user. + * @return {Promise} + */ + @Cordova() + reloadCurrentUser(): Promise { + return; + } /** * Get notified when a token is refreshed.