diff --git a/src/@ionic-native/plugins/firebase-analytics/index.ts b/src/@ionic-native/plugins/firebase-analytics/index.ts index a6ef388d..5cdac8fd 100644 --- a/src/@ionic-native/plugins/firebase-analytics/index.ts +++ b/src/@ionic-native/plugins/firebase-analytics/index.ts @@ -43,7 +43,7 @@ export class FirebaseAnalytics extends IonicNativePlugin { * @param params {any} Some param to configure something * @return {Promise} Returns a promise */ - @Cordova() + @Cordova({ sync: true }) logEvent(name: string, params: any): Promise { return; } /** @@ -52,7 +52,7 @@ export class FirebaseAnalytics extends IonicNativePlugin { * @param id {string} The user ID * @return {Promise} Returns a promise */ - @Cordova() + @Cordova({ sync: true }) setUserId(id: string): Promise { return; } /** @@ -62,7 +62,7 @@ export class FirebaseAnalytics extends IonicNativePlugin { * @param value {string} The property value * @return {Promise} Returns a promise */ - @Cordova() + @Cordova({ sync: true }) setUserProperty(name: string, value: string): Promise { return; } /** @@ -70,7 +70,7 @@ export class FirebaseAnalytics extends IonicNativePlugin { * @param enabled {boolean} * @return {Promise} Returns a promise */ - @Cordova() + @Cordova({ sync: true }) setEnabled(enabled: boolean): Promise { return; } /** @@ -79,7 +79,7 @@ export class FirebaseAnalytics extends IonicNativePlugin { * @param name {string} The name of the screen * @return {Promise} Returns a promise */ - @Cordova() + @Cordova({ sync: true }) setCurrentScreen(name: string): Promise { return; } }