From f852dd9510889d74921f41593e4ce1fcac7ba700 Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 2 Aug 2021 22:39:38 +0200 Subject: [PATCH] feat(firebase-authentication) add getCurrentUser() definitio (#3701) --- .../plugins/firebase-authentication/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/@ionic-native/plugins/firebase-authentication/index.ts b/src/@ionic-native/plugins/firebase-authentication/index.ts index d00a939f4..4c409fcc1 100644 --- a/src/@ionic-native/plugins/firebase-authentication/index.ts +++ b/src/@ionic-native/plugins/firebase-authentication/index.ts @@ -34,6 +34,17 @@ import { Observable } from 'rxjs'; }) @Injectable() export class FirebaseAuthentication extends IonicNativePlugin { + + + /** + * Returns the current user logged in Firebase service + * @return {Promise} Returns the user info + */ + @Cordova({ sync: true }) + getCurrentUser(): Promise { + return; + } + /** * Returns a JWT token used to identify the user to a Firebase service. * @param forceRefresh {boolean} Force Refresh