googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
340 stars 283 forks source link

childViewControllerForStatusBarHidden not implemented that blocking to close the full screen add #648

Closed alihassan143 closed 1 year ago

alihassan143 commented 2 years ago

Plugin Version

google_mobile_ads: ^2.0.1

Issue

Status bar could not be hidden for full screen ad. Ensure that your app is configured to allow full screen ads to control the status bar. For example, consider whether you need to set the childViewControllerForStatusBarHidden property on your ad's rootViewController.

Expected results:

Actual results:

Logs ``` flutter doctor -v [✓] Flutter (Channel stable, 3.3.1, on macOS 12.6 21G115 darwin-x64, locale en-PK) • Flutter version 3.3.1 on channel stable at /usr/local/Caskroom/flutter/3.3.1/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4f9d92fbbd (7 days ago), 2022-09-06 17:54:53 -0700 • Engine revision 3efdf03e73 • Dart version 2.18.0 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1) • Android SDK at /Users/mac/Library/Android/sdk • Platform android-33, build-tools 33.0.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14A309 • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.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.12+0-b1504.28-7817840) [✓] VS Code (version 1.71.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.48.0 [✓] Connected device (3 available) • iPhone 14 Pro Max (mobile) • A878B2E8-784D-4362-9E75-556B5CE6F748 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator) • macOS (desktop) • macos • darwin-x64 • macOS 12.6 21G115 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.102 [✓] HTTP Host Availability • All required HTTP hosts are available ```

cannot be able to close the interstitial ad in iphone14pro

huycozy commented 2 years ago

Hi @alihassan143 There was a closed issue https://github.com/googleads/googleads-mobile-flutter/issues/639 that had a workaround at https://github.com/googleads/googleads-mobile-flutter/issues/639#issuecomment-1237614700. Please try it to see if it can solve your issue.

alihassan143 commented 2 years ago

but that is not and ideal solution

huycozy commented 2 years ago

but that is not and ideal solution

@alihassan143 Can you provide more information about this?

alihassan143 commented 2 years ago

every time when full screen add open we have to show and hide the app bar by our self it should be inside the package

huycozy commented 2 years ago

@alihassan143 thanks for responding. Keeping this issue open for further insights from the team due to issue #639 has been finished by OP.

timothyhoang-google commented 2 years ago

Similar to #191. 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.

jjliu15 commented 1 year ago

Closing as duplicate of https://github.com/googleads/googleads-mobile-flutter/issues/191