-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
How can I reload banner ads on app come to foreground from background #559
Comments
Using React techniques, changing the |
Why would you want this? A banner ad is refreshing itself automatically after Google's recommendations (30sec?). |
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?
Thank you for your contributions. |
I just found out this actually makes a lot of sense. Apparently the OS can terminate WKWebView when the app is in a "suspended" state. Which can lead to blank ads upon reopening the ad. Current advise by Google is to request a new ad when the app is foregrounded. |
For a smoother experience, I added a reload method. |
What happened?
I want to reload banner ads when ever app the come to forground
Platforms
Android and iOS
React Native Info
Are your using Typescript?
package.json
no need
app.json
no need
ios/Podfile
android/build.gradle
android/app/build.gradle
android/settings.gradle
AndroidManifest.xml
The text was updated successfully, but these errors were encountered: