Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 如何在IONIC 4中手动删除间隙谷歌广告_Ionic Framework_Interstitial - Fatal编程技术网

Ionic framework 如何在IONIC 4中手动删除间隙谷歌广告

Ionic framework 如何在IONIC 4中手动删除间隙谷歌广告,ionic-framework,interstitial,Ionic Framework,Interstitial,我需要显示间隙谷歌广告点击一个按钮。在3秒超时后,我需要关闭间隙谷歌广告和显示路由屏幕 我已经打开了谷歌的插页广告,但我无法关闭它 displayAds(page) { let interstitialConfig: AdMobFreeInterstitialConfig = { isTesting: true, autoShow: true }; this.admob.interstitial.config(interstitialConfi

我需要显示间隙谷歌广告点击一个按钮。在3秒超时后,我需要关闭间隙谷歌广告和显示路由屏幕

我已经打开了谷歌的插页广告,但我无法关闭它

  displayAds(page) {
    let interstitialConfig: AdMobFreeInterstitialConfig = {
      isTesting: true,
      autoShow: true
    };
    this.admob.interstitial.config(interstitialConfig);
    this.admob.interstitial.prepare().then(() => {
    }).catch(e => alert(e));
  }