title: Ads are not showing on iOS devices
body: <p>In flutter, we want to use AdMob.</p>
  
  <p>We set as follows.
  Because there may be relationships, we also write Firebase Analytics.</p>
  
  <pre><code>[pubspec.yaml]
  dependencies:
    flutter:
      sdk: flutter
  
    firebase_admob: ^0.5.7
    firebase_analytics: ^1.0.3
  
  [main.dart]
  void main() {
    // [Analytics]
    FirebaseAnalytics().logAppOpen();
  
    // [Initialize:AdMob]
    FirebaseAdMob.instance.initialize(
      appId: Platform.isAndroid
          ? 'ca-app-pub-xxxxxxxxxxxxxxxx~xxxxxxxxxx'
          : 'ca-app-pub-yyyyyyyyyyyyyyyy~yyyyyyyyyy',
    );
  
    // [Create Banner Ad:AdMob]
    createBannerAd()
      ..load()
      ..show(
        anchorType: AnchorType.top,
      );
  
    runApp(MyApp());
  }
  
  final MobileAdTargetingInfo targetingInfo = new MobileAdTargetingInfo(
    testDevices: Const.testDevices,
    keywords: &lt;String&gt;[
      'foo',
      'bar',
    ],
    birthday: new DateTime.now(),
    childDirected: true,
    gender: MobileAdGender.female,
  );
  
  // [Create Banner Ad:AdMob]
  BannerAd createBannerAd() {
    return new BannerAd(
      adUnitId: Platform.isAndroid
          ? 'ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX'
          : 'ca-app-pub-YYYYYYYYYYYYYYYY~YYYYYYYYYY',
      size: AdSize.banner,
      targetingInfo: targetingInfo,
      listener: (MobileAdEvent event) {
        print("BannerAd event $event");
      },
    );
  }
  </code></pre>
  
  <p>We download the Firebase configuration file and place it in the following.
  In Xcode's Target Membership, we have confirmed that it is set correctly.</p>
  
  <pre><code>/android/app/google-services.json
  /ios/Runner/GoogleService-Info.plist
  </code></pre>
  
  <p>It is displayed normally on Android device.
  However, it is not displayed on the iOS device.
  The following log was output.</p>
  
  <pre><code>2018-08-29 11:21:58.147849+0900 Runner[459:115739] FirebaseAdMobPlugin &lt;warning&gt; [FIRApp configure]
  2018-08-29 11:21:58.157062+0900 Runner[459:115880] 5.5.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more:
  [abridgement]
  2018-08-29 11:21:59.755279+0900 Runner[459:115739] FirebaseAdMobPlugin &lt;warning&gt; adView:didFailToReceiveAdWithError: Request Error: No ad to show. (MobileAd &lt;FLTBannerAd: 0x113ef81b0&gt; PENDING mobileAdId:ZZZZZZZZZ for: &lt;GADBannerView: 0x113efa7b0; frame = (0 0; 320 50); clipsToBounds = YES; layer = &lt;CALayer: 0x113efac40&gt;&gt;)
  2018-08-29 11:21:59.757247+0900 Runner[459:115885] flutter: BannerAd event MobileAdEvent.failedToLoad
  </code></pre>
  
  <p>How should we implement <code>[FIRApp configure];</code> in the flutter?
  Is it unnecessary? We could not find it in the sample code.</p>
  
  <p>Is our setting correct?
  If we wait for a few more days, will mobileAdId not be pending?</p>
  
  <pre><code>$ flutter doctor -v
  [✓] Flutter (Channel dev, v0.7.2, on Mac OS X 10.13.6 17G65, locale ja)
      • Flutter version 0.7.2 at /Applications/flutter
      • Framework revision f8a2fc7c28 (4 days ago), 2018-08-27 20:58:30 +0200
      • Engine revision af42b6dc95
      • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282
  
  [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
      • Android SDK at /Users/xxxxx/src/android-sdks
      • Android NDK at /Users/xxxxx/src/android-sdks/ndk-bundle
      • Platform android-27, build-tools 27.0.3
      • ANDROID_HOME = /Users/xxxxx/src/android-sdks
      • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
      • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
      • All Android licenses accepted.
  
  [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
      • Xcode at /Applications/Xcode.app/Contents/Developer
      • Xcode 9.4.1, Build version 9F2000
      • ios-deploy 1.9.2
      • CocoaPods version 1.5.3
  
  [✓] Android Studio (version 3.1)
      • Android Studio at /Applications/Android Studio.app/Contents
      • Flutter plugin version 27.1.1
      • Dart plugin version 173.4700
      • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
  
  [✓] VS Code (version 1.25.1)
      • VS Code at /Applications/Visual Studio Code.app/Contents
      • Flutter extension version 2.17.1
  
  [✓] Connected devices (1 available)
      • iPhone 6 Plus • XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX • ios • iOS 11.4.1
  
  • No issues found!
  </code></pre>
  
  <p>In parallel with this question, we also contact AdMob.
  Ads will not be shown using the following app ID and ad unit ID.</p>
  
  <pre><code>ca-app-pub-3940256099942544~1458002511
  ca-app-pub-3940256099942544/2934735716
  </code></pre>