Closed mustafa-707 closed 2 years ago
Hi @mustafa-707 Thanks for filing the issue, Could you please share a minimal and complete reproducible code to better address the issue.
Thanks
my nav bar code :
@mustafa-707 I am not sure exactly what the issue is but I am able to load the banner ads in the bottom navigation bar, it would be great if you could share some screenshots or videos.
I used your code and eliminated few unknown variables, Mainly I would like to see the part of the code where you used the banners in order to reproduce the issue. Please try modifying the below code sample and reply back with the complete code sample that should be ready to run with minimal or no code changes.
thank you for your review , and sorry my explanations is not perfect , my case here is like your sample but lets put the ad on a scroller (single child scroll view) with other widget with deferent Hight the ad will be positioned under the bottom nav bar , so when the ad located under the bottom nav bar the issue will begin , so the behavior is when press on any icon on bottom nav bar while the ad under it , the action that happens is the ad open the browser instead of changing index of the bottom nav bar i hope my explaining do well
sample code modified : The problem here the ad is for test its happens to me on the release build with non-test video mediumRectangle banner ads and only on iOS
flutter doctor -v
[√] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.19043.1237], locale en-US)
• Flutter version 2.5.1 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffb2ecea52 (12 days ago), 2021-09-17 15:26:33 -0400
• Engine revision b3af521a05
• Dart version 2.14.2
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\is10vmust\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• 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\Google\Chrome\Application\chrome.exe
[√] 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)
[√] VS Code (version 1.60.2)
• VS Code at C:\Users\xxxx\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.26.0
[√] Connected device (4 available)
• JNY LX1 (mobile) • AUDUT20221002068 • android-arm64 • Android 10 (API 29)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82
• Edge (web) • edge • web-javascript • Microsoft Edge 93.0.961.52
Thanks for the modified code sample, I verified on iphone6s as well as simulators but could not reproduce the issue.
iPhone 6s ios (14.4.1) | iPhone 11 simulator (ios 13) |
---|---|
could you please share what ios version are you using?
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
Plugin Version
google_mobile_ads: ^0.13.5
Steps to Reproduce
in my app I'm using the banners in my home screen and other screens and all this screens it's inside a scrolling behavior and controlled by bottom navigation bar to swipe between screens
the issue begin when I'm scrolling in the screen that contain ad banners and make the banners under the bottom navigation bar some type of banners do it's action when press on the bottom nav. bar instead of do the nav. bar action - it seems like the banner goes on the upper layer of the nav bar but its the opposite in real
info :
it's only happens on my iOS devices
also
it's just happened with some type of ads not all type like video ads banner and some html based ads banner