Closed ehdudakswo-dyj closed 1 year ago
Can confirm this happens here too. If you press home, then use the app switcher to refocus the app, the ad is not closed. Only when you press home, then click on the app icon to refocus the app, does the ad close.
"react-native-google-mobile-ads": "^11.2.0",
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
in my case, set launchMode='singleTop' instead of 'singleTask' in AndroidManifest
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
What happened?
After running an Android interstitial advertisement, press the home button and run the app again, the advertisement is automatically closed.
Existing Android native apps don't have this bug. It seems like a bug that only occurs in React Native, and I wonder if there is a solution.
Platforms
Android, but have not tested behavior on iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
No response
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response