admob_flutter icon indicating copy to clipboard operation
admob_flutter copied to clipboard

iOS <Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers

Open hasen6 opened this issue 4 years ago • 2 comments

Using version 0.3.4 and it works fine on the Android emulator but ads do not show in iOS. The only error message is:

<Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers

Both Banner and Interstitial all work absolutely fine on Android and have followed the installation instructions for setup on iOS. I really don't see why the banner doesn't show at all and the interstitial listener only ever displays 'not ready'.

flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.5, on Mac OS X 10.13.6 17G7024, locale zh-Hans-CN)
    • Flutter version 1.9.1+hotfix.5 at /Users/hasen/developer/flutter
    • Framework revision 1aedbb1835 (5 weeks ago), 2019-10-17 08:37:27 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/hasen/Library/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • ANDROID_HOME = /Users/hasen/Library/Android/Sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version openjdk version "1.8.0_202-release"
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.3
    • Dart plugin version 191.8423
    • Java version openjdk version "1.8.0_202-release"

[✓] VS Code (version 1.40.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • iPhone XS Max • 8DD28B45-0D2A-4527-9FF4-64BE0D313722 • ios • iOS 12.1 (simulator)
• No issues found!

hasen6 avatar Nov 19 '19 06:11 hasen6

Same issue for iOS

atereshkov avatar Jan 06 '20 08:01 atereshkov

Any updates on this? The ads do show up on iOS simulator but no luck on the real device. Also sometimes when I hot reload the app the ads are shown on real device too. But that's of no use.

mustafabhatkar avatar Mar 14 '20 19:03 mustafabhatkar