invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
686 stars 139 forks source link

[🐛] iOS - Close Button #228

Closed dessorry closed 2 years ago

dessorry commented 2 years ago

With iPhone 14 Pro Max ad close button is in the status bar and is impossible to click it.

mikehardy commented 2 years ago

Hi there! You've included essentially no information to help, that makes it hard to help:

https://stackoverflow.com/help/how-to-ask https://stackoverflow.com/help/minimal-reproducible-example

Following the guidelines there demonstrates empathy with us, your fellow developers, when you wish to collaborate on issues

This reminds me of this: https://github.com/invertase/react-native-google-mobile-ads/issues/204 Also this seems .... related but not quite on target: https://github.com/invertase/react-native-google-mobile-ads/issues/136

But, those make me think two things:

Alternatively - if you look in our iOS code here at the full size ads, perhaps there is something missing in there? Have you investigated at all? Maybe in here, but you haven't mentioned what kind of ad is in use at all https://github.com/invertase/react-native-google-mobile-ads/blob/main/ios/RNGoogleMobileAds/RNGoogleMobileAdsFullScreenAd.swift

dessorry commented 2 years ago

I've solved using a SafeAreaView as container for my App. Thank you

mikehardy commented 2 years ago

Great news, thank you for reporting back

CodingByJerez commented 2 years ago

@dessorry how did you encapsulate interstitial in SafeAreaView?

dessorry commented 2 years ago

I haven't encapsulated the interstitial ad . It is still full screen mode but using a safe are view I'm able to close the ad