Closed szech696 closed 6 months ago
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?
Hello,
My interstitial ads stop showing if the app hasn't been closed for about a day. To clarify the app will be running in the background and foreground for about a day, and unless I completely close out of the app and reopen it then the ads will stop showing completely. I've tried calling:
mobileAds().initialize().then(adapterStatuses => {}).catch(err => setIsLoaded(false));
once every 4 hours, this did not work.I am now trying to force a reload of the component whenever the app transitions from the background to foreground. I'm unsure if this will work though.
The ads are being triggered from a redux state change, in order to limit ads being shown every X minutes. I've tested this function, and the state is updating just fine, and once again works for about a day and then completely stops showing ads. Once I close and reopen the app, the ads begin showing again.
I'm completely lost on why this is happening, and have come to the conclusion that this is a bug with the library.
Has anyone else had this issue, and a potential fix?
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