diff --git a/src/@ionic-native/plugins/admob-free/index.ts b/src/@ionic-native/plugins/admob-free/index.ts index a32d19574..bcd059b3d 100644 --- a/src/@ionic-native/plugins/admob-free/index.ts +++ b/src/@ionic-native/plugins/admob-free/index.ts @@ -192,28 +192,28 @@ export class AdMobFreeBanner { * Hide the banner. * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) hide(): Promise { return; } /** * Create banner. * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) prepare(): Promise { return; } /** * Remove the banner. * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) remove(): Promise { return; } /** * Show the banner. * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) show(): Promise { return; } } @@ -240,21 +240,21 @@ export class AdMobFreeInterstitial { * Check if interstitial is ready * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) isReady(): Promise { return; } /** * Prepare interstitial * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) prepare(): Promise { return; } /** * Show the interstitial * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) show(): Promise { return; } } @@ -281,21 +281,21 @@ export class AdMobFreeRewardVideo { * Check if reward video is ready * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) isReady(): Promise { return; } /** * Prepare reward video * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) prepare(): Promise { return; } /** * Show the reward video * @return {Promise} */ - @Cordova({ sync: true }) + @Cordova({ otherPromise: true }) show(): Promise { return; } }