AdMob banner disappears after reopen the app - Flutter
See original GitHub issuePlugin Version
1.2.0
Steps to Reproduce
1- Run App (simple app run audio streams foreground & background) 2- Admob Banner shows normally 3- Play audio 4- Exit app 5- resume app by click push notification to come to last opened activity 6- Admob banner disappears leaving its place occupied and when click on its place redirects me to google ads page ( same behaviour as ad clicked )
Expected results:
when resume activity admob banner rebuild or keep showing
Actual results:
Admob banner disappears leaving its place occupied and when click on its place redirects me to google ads page ( same behaviour as ad clicked )
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1586], locale en-US)
• Flutter version 2.10.1 at D:\Programs\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db747aa133 (9 weeks ago), 2022-02-09 13:57:35 -0600
• Engine revision ab46186b24
• Dart version 2.16.1
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
• Android SDK at C:\Users\legab\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0-rc5
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32126.317
X The current Visual Studio installation is incomplete. Please reinstall Visual Studio.
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] Connected device (4 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1586]
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.75
• Edge (web) • edge • web-javascript • Microsoft Edge 100.0.1185.36
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Image 1 | Image 2 |
---|---|
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
AdMob banner disappears after reopen the app - Flutter
I have Flutter app that shows admob banner (Test in Android) .. its working good but when the activity is detached (by removing...
Read more >[Solved]-iOS8 - UIView inputView disappears after app resume
A cleaner fix to this issue would be to register for UIKeyboardWillHideNotification on MainView and reset firstResponder status. NSNotificationCenter.
Read more >Banner | Flutter - Google Developers
This guide shows how to integrate banner ads from AdMob into a Flutter app. In addition to code snippets and instructions, it also...
Read more >Flutter AdMob Monetization – Banner and Interstitial Ads
When clicking on a news story tile, you'll be taken to the news article page, but before seeing the article you'll see an...
Read more >Adding Firebase AdMob Banner, Interstitial, Rewarded Video ...
Just go again to your App Settings in your admob and in the bottom part just click Link to Firebase(User metrics must be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I confirmed that this issue is already fixed.
I’m unable to reproduce this issue seems in the flutter master channel. This is probably fixed already.