title: cordova-plugin-admobpro not displaying interstitials or banners on devices
body: <p>I'm trying to get adverts working using this plugin in an Ionic app, and getting very inconsistent results with interstitials and banners. </p>
  
  <p>The current code sets up the interstitial and banner in $ionicPlatform.ready():</p>
  
  <pre><code>angular.module('myApp',
    [
      'ionic',
      'ngCordova',
      'ngIOS9UIWebViewPatch'
    ])
    .constant('myConf', {
      ads: {
        appBanner: '/1234567/*******************',
        appInterstitial: '/1234567/*******************',
        roaInterstitial: '/1234567/*******************'
      }
    })
    .run(function ($ionicPlatform, $rootScope, $ionicLoading, myConf, $cordovaKeyboard, $cordovaGoogleAds) {
      $ionicPlatform.ready(function () {
        if ($cordovaKeyboard) {
          $cordovaKeyboard.hideAccessoryBar(true);
        }
        if (window.StatusBar) {
          StatusBar.styleDefault();
        }
        if (AdMob) {
          AdMob.prepareInterstitial({
            interstitialAdId: myConf.ads.roaInterstitial,
            autoShow: false
          });
          AdMob.createBanner({
            adId: myConf.ads.appBanner,
            autoShow: false
          });
        }
      });
    )};
  </code></pre>
  
  <p>Then in main.js and in controllers:</p>
  
  <pre><code>if (AdMob) {
    AdMob.showInterstitial();
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>if (AdMob) {
    AdMob.showBanner(AdMob.AD_POSITION.BOTTOM_CENTER);
  }
  </code></pre>
  
  <p>Admittedly the code is wrapped in callbacks and a little more complex, but in tests, I have paired the code down to this, taking the advert code out of the if statement or doing a console.log within the if statement (the code is definitely entering the if statement), and also tried autoShow: true, with the same results.</p>
  
  <p>We are testing on ios &amp; android simulator and ionic view. The advert codes are correct and there are no frequency or other limitations on these test adverts.</p>
  
  <p>I am seeing the banner consistently on ios simulator, but not on android or ios devices (through ionic view). </p>
  
  <p>The interstitial has only appeared very occasionally on ios simulator, and never on ios or android devices.</p>
  
  <p>If I run:</p>
  
  <pre><code>$ ionic run ios -l -c
  </code></pre>
  
  <p>I see multiple warnings from cordova-plugin-extension:</p>
  
  <pre><code>while processing /Library/WebServer/www/my_app/platforms/ios/myApp/Plugins/cordova-plugin-extension/libCordovaGenericAd.a(GenericAdPlugin.o):
  warning: /Users/liming/Library/Developer/Xcode/DerivedData/ModuleCache/1UIOVPNM0I1EA/CoreGraphics-N94D31PLFESQ.pcm: No object file for requested architecture
  while processing /Library/WebServer/www/my_app/platforms/ios/myApp/Plugins/cordova-plugin-extension/libCordovaGenericAd.a(GenericAdPlugin.o):
  warning: Could not resolve external type c:objc(cs)NSObject
  </code></pre>
  
  <p>I don't know if this is related, although I see that this is supposedly fixed in <a href="https://github.com/floatinghotpot/cordova-extension/issues/5" rel="nofollow">https://github.com/floatinghotpot/cordova-extension/issues/5</a></p>