diff --git a/src/@ionic-native/plugins/firebase-x/index.ts b/src/@ionic-native/plugins/firebase-x/index.ts index 85d30d190..9d8dced89 100644 --- a/src/@ionic-native/plugins/firebase-x/index.ts +++ b/src/@ionic-native/plugins/firebase-x/index.ts @@ -71,6 +71,48 @@ export interface IChannelOptions { visibility?: -1 | 0 | 1; } +export interface FirebaseUser { + /** + * ID token + */ + idToken?: string; + + /** + * Provider ID + */ + providerId?: string; + + /** + * UID + */ + uid?: string; + + /** + * photo url + */ + photoUrl?: string; + + /** + * phone number + */ + phoneNumber?: string; + + /** + * is email verified + */ + emailIsVerified?: boolean; + + /** + * email + */ + email?: string; + + /** + * name + */ + name?: string; + } + /** * @name Firebase X * @description @@ -128,6 +170,15 @@ export class FirebaseX extends IonicNativePlugin { return; } + /** + * Get the current FCM user. + * @return {Promise} + */ + @Cordova() + getCurrentUser(): Promise { + return; + } + /** * Get notified when a token is refreshed. * @return {Observable}