Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[google_mobile_ads] Something appear recently in my app interstitial ads - native android bar #393

Closed
mustafa-707 opened this issue Sep 28, 2021 · 8 comments
Labels
invalid This doesn't seem right

Comments

@mustafa-707
Copy link

Plugin Version

after upgrading to flutter 2.5.1 I found this kind of random behavior on interstitial ads
I used
google_mobile_ads 0.13.5 and google_mobile_ads 0.13.4

i tried it on debug and on release mode but it's also appear in both
its looks a native android widget that came from android studio android templets

##Screen Shot
243153071_1238281760020518_6382467743597471074_n

@maheshj01 maheshj01 added the in triage Issue currently being evaluated label Sep 29, 2021
@maheshj01
Copy link
Collaborator

maheshj01 commented Sep 29, 2021

Hi @mustafa-707, I ran the official sample app from pub and I could not reproduce the issue on emulator or real device using google_mobile_ads: 0.13.5

On which device are you seeing this issue? Is this issue with real Ads or test Ads?

Please share a minimal and complete reproducible code to better address the issue

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.1 at /Users/mahesh/Documents/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 /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile)    • d9dac45d      • android-arm64  • Android 11 (API 30)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30)
      (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 11.6 20G165
      darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

Thanks

@maheshj01 maheshj01 added the feedback required Further information is requested label Sep 29, 2021
@mustafa-707
Copy link
Author

mustafa-707 commented Sep 30, 2021

actually i tried the same code with flutter 1.66.2 and flutter 2.2.3 and all good

the problem just happened when I upgrade to flutter 2.5.0 and flutter 2.5.1 on android only

my device is Huawei Nova 7i

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

@maheshj01
Copy link
Collaborator

maheshj01 commented Sep 30, 2021

@mustafa-707 Could you please confirm this happen only on your specific device or another android device/ emulator too?

@mustafa-707
Copy link
Author

mustafa-707 commented Oct 3, 2021

this video using the flutter emulator also i tried it in many android devices and the result is same :
the Test button here , is active the same function of the open app new ad type as the example wrote it.

untitled.mp4

also its happen in other type of social login that shows also a random android native bar with the app name , all of that's only notice after moving from flutter 2.3.x to flutter 2.5.x idk if it caused by the flutter sdk or from another dependencies also i will try it after removing plugins and will see if it caused from whatelse.

@maheshj01 maheshj01 removed the feedback required Further information is requested label Oct 4, 2021
@maheshj01
Copy link
Collaborator

@mustafa-707 does this reproduce on another device or emulator?

@maheshj01 maheshj01 added the feedback required Further information is requested label Oct 4, 2021
@mustafa-707
Copy link
Author

No , I tried it on much devices and emulators all them have the same behavior So I guess it's a flutter 2.5.x issue or it's from my project something goes wrong , I will investigate and already wrote an issue on flutter repository

@maheshj01
Copy link
Collaborator

Please share a minimal and complete reproducible code to better address the issue

@mustafa-707 could you please share a sample code or a repository containing minimal code sample? It will help to find the cause of the issue.

Thanks

@mustafa-707
Copy link
Author

after much investigation on my project i found the cause of the problem , it was all the time the plugin named :

sentry_flutter

when i removed it it was solved ,

i will let sentry knows that , thank you all guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants