Ionic admob autoshow fail

I set the admob below:

public showInterstitial() {
    if (!this.adMob) return false;
    
    let adInterOptions: AdMobOptions = <AdMobOptions>{};

    adInterOptions = {
      adId: IGV.AD_MOB_ID_INTER,
      isTesting: IGV.isTestingAdmob,
      autoShow: true
      //adExtras: this.adExtras
    }

    this.adMob.prepareInterstitial(adInterOptions);
    return true;
  }

In android it works perfectly, but in iphone it doesn’t show the interstitial.

But for the banner, it works fine with android and iphone.

Anyone encounter this problem?

I solve it by editing to this:

public showInterstitial() {
    if (!this.adMob) return false;
    
    let adInterOptions: AdMobOptions = <AdMobOptions>{};

    adInterOptions = {
      adId: IGV.AD_MOB_ID_INTER,
      isTesting: IGV.isTestingAdmob,
      autoShow: true
      //adExtras: this.adExtras
    }

    this.adMob.prepareInterstitial(adInterOptions)
    .then(() => { this.adMob.showInterstitial(); });
    return true;
  }

If someone in the future looks at this, this:

got changed to this: