You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main problem is that even Test ads are not showing up with FirebaseAdMob.instance.initialize(appId: FirebaseAdMob.testAppId); adUnitId: BannerAd.testAdUnitId,
Steps to Reproduce
Clone the example app.
Sample APP ID added like this <!-- Sample AdMob App ID: ca-app-pub-3940256099942544~3347511713 --> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-3940256099942544~3347511713"/>
Added test device ID like this const String testDevice = 'B5BD02099B12769D58DBD05B64D1DFAF';
I am running on a Physical device. Below is information for that
Target Platform: Android (I have not tested in iOS yet) Target OS version/browser: Android 9 Devices: Xiomi MI A1
Logs
This logs appears when App is loaded.
14:17:39.786 35 info flutter.tools E/chromium( 9945): [ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -107
14:17:40.076 37 info flutter.tools W/Ads ( 9945): Not retrying to fetch app settings
14:17:43.529 38 info flutter.tools V/FA ( 9945): Inactivity, disconnecting from the service
14:17:50.219 40 info flutter.tools I/Ads ( 9945): Ad failed to load : 0
14:17:50.245 41 info flutter.tools I/flutter ( 9945): BannerAd event MobileAdEvent.failedToLoad
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.1 18B75, locale en-GB)
• Flutter version 1.9.1+hotfix.4 at /Users/PinkeshDarji/Data/Development/flutter
• Framework revision cc949a8e8b (11 days ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/PinkeshDarji/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
• Xcode at /Applications/Xcode10.1.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• CocoaPods version 1.7.5
[!] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio 2.app/Contents
• Flutter plugin version 40.0.2
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[!] VS Code (version 1.33.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• Mi A1 • 0096804d0804 • android-arm64 • Android 9 (API 28)
The text was updated successfully, but these errors were encountered:
Closing this issue. There was a problem at my end. Ads were not loading because my company's internet had restricted it. It started working as I switched to another internet connection with no restrictions.
The main problem is that even Test ads are not showing up with
FirebaseAdMob.instance.initialize(appId: FirebaseAdMob.testAppId);
adUnitId: BannerAd.testAdUnitId,
Steps to Reproduce
Clone the example app.
Sample APP ID added like this
<!-- Sample AdMob App ID: ca-app-pub-3940256099942544~3347511713 --> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-3940256099942544~3347511713"/>
Added test device ID like this
const String testDevice = 'B5BD02099B12769D58DBD05B64D1DFAF';
I am running on a Physical device. Below is information for that
Target Platform: Android (I have not tested in iOS yet)
Target OS version/browser: Android 9
Devices: Xiomi MI A1
Logs
This logs appears when App is loaded.
14:17:39.786 35 info flutter.tools E/chromium( 9945): [ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -107
14:17:40.076 37 info flutter.tools W/Ads ( 9945): Not retrying to fetch app settings
14:17:43.529 38 info flutter.tools V/FA ( 9945): Inactivity, disconnecting from the service
14:17:50.219 40 info flutter.tools I/Ads ( 9945): Ad failed to load : 0
14:17:50.245 41 info flutter.tools I/flutter ( 9945): BannerAd event MobileAdEvent.failedToLoad
And this appears on click of show banner
Flutter doctor
The text was updated successfully, but these errors were encountered: