Closed andreacimino closed 1 year ago
I also get the same ad and same issue, but with different plugin. In my case, the X button is clickable by hiding the status bar when ad is opened.
if (event == AdmobAdEvent.closed) {
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
} else if (event == AdmobAdEvent.opened) {
SystemChrome.setEnabledSystemUIOverlays([]);
}
Thank for the info!
Hi @andreacimino @shunminghsu, Thanks for reporting the issue, Could you please share the output of flutter doctor -v
and also see if the issue is reproducible using the latest plugin google_mobile_ads: ^0.13.3
. And could you guys also share on which device is this issue on?
I verified on the iPhone 12 pro max (Simulator) and could not reproduce the issue below are the screenshots attached.
Thanks.
Having the same issue.
@tal412 may I know what device is this issue on?
@tal412 may I know what device is this issue on?
iPhone 12.
@tal412 thanks for the info, I verified this issue on the iphone12 simulator but could not reproduce it and found same results as above. This looks like it is device specific issue.
@tal412 may I know what device is this issue on?
iPhone 12.
I guess it has something to to with production ads, not test ads... I also think it's a specific kind of ad which won't show up all the time.
There is no reproducible code - because there is nothing special about it. It's just the normal code which takes an interstitial ad's id and shows it.
Here is another example:
Please fix this asap. This is a very bad user experience.
Users have reported this issue on iPhone 12s
We now call SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
before showing the ad then on dismiss call SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
I'm still having this issue. Problem with using the SystemUIMode functions is that it refreshes the screen and my app loses it's current state.
We are having some issues in iOS with 2.0.0.
It depends on the creative so we don't have a way to reproduce:
Can confirm this. Any workaround and/or fix to apply? Multiple users are reporting this issue.
Updated the priority, since this seems to affect a significant group of users.
Anyone who is affected by this issue please leave an upvote on the original issue report
cc: @jjliu15
Users have reported this issue on iPhone 12s
We now call
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
before showing the ad then on dismiss callSystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
for now you can use this workaround. It does works.
I have the same issue with iphone 14 pro max, ios 16
@huycozy, @maheshmnj - is this issue related to #648?
@timothyhoang-google It might be related to #648.
I also see some similar workarounds here at https://github.com/googleads/googleads-mobile-flutter/issues/191#issuecomment-832371320 and https://github.com/googleads/googleads-mobile-flutter/issues/191#issuecomment-922364313. These workarounds are the same by using SystemChrome manually when the ad is opened/closed.
@jjliu15 - PTAL
Trying to add interstitial ads to a flutter app. The close button on the iPhone 14 Pro Max iOS 16.0 does not work, the ad will not close. The suggested work arounds do not work for me. Flutter 3.3.0 google_mobile_ads: ^2.0.1
We are still investigating. It's likely this is a native GMA SDK issue that must be resolved in the next granular release of the iOS and Android GMA SDKs.
I've been able to reproduce this issue on iOS 16 devices.
This looks like a Flutter specific issue. GMA is not able to hide the status bar, due to how flutter overrides its status bar style when UIViewControllerBasedStatusBarAppearance
is false (see FlutterPlatformPlugin.mm).
I tried setting modalPresentationCapturesStatusBarAppearance
on the FlutterViewController as recommended by https://developers.google.com/admob/ios/migration#stricter_enforcement_of_status_bar_controls, but it does not work.
We will need to add a similar workaround as https://github.com/googleads/googleads-mobile-flutter/issues/191#issuecomment-922364313 that overrides the status bar style when the plugin displays a full screen ad.
In the meantime, a simpler workaround is to override UIViewControllerBasedStatusBarAppearance
to true
in your info.plist
file:
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
@jjliu15 this solution is has no effect on Flutter status bar? i want to use this solution to my React Native by setting ADX ads to SafeArea
Plugin Version
google_mobile_ads: ^0.12.1+1
Steps to Reproduce
Difficult to reproduce, since interstitial are not in control
I added a message on the admob forum too. Here is the link
https://groups.google.com/g/google-admob-ads-sdk/c/wvzE3I5LVw4/m/c4GPcOv2AQAJ