Closed dessorry closed 1 year ago
Not sure why but switching to a different simulator sometimes helps. npx react-native run-ios --simulator="iPhone 14 Pro"
Thanks, but I've just tried this solution. Also iOS real device doesn't show ads.
No problems in our example app so please compare.
I tried to use TestIds.REWARDED but I obtained: [Error: [googleMobileAds/no-fill] Request Error: No ad to show.] How can I add some logs to debug reason? Where can I found code of your example?
An app-ads.txt file is mandatory to get Ads?
If people would start to read our docs we'd avoid many issues 🤷♂️. https://docs.page/invertase/react-native-google-mobile-ads/common-reasons-for-ads-not-showing#test-ads-not-showing-up
If you set up an app-ads.txt....
"If you"
I'm still wondering if it is mandatory or not. I would not use app-ads.txt, is possible? I've read your docs (it's very clear and detailed) and everything works for two years. Since last week it suddenly stops to work on iOS so I'm trying to figure it out what could be the reason
Ah oke, I thought it was mandatory but the official admob docs say it's "recommended". Would try the official admob forums as there are many people having "no-fill" errors with rewarded ads for different reasons. (unrelated to this react native port)
OK, thanks, I'll try on AdMob community
I solved the issue uploading a goog app-ads.txt So we can say that:
APP-ADS.TXT IS MANDATORY FOR iOS!
Thank you for you help and forgive me if I post here an issue that is caused by me. You can close this issue!
What happened?
recently, every time I launch my App on iOS simulator I can no longer show the rewarded ads. No problem instead on Android emulator. I always get error: [Error: [googleMobileAds/no-fill] Request Error: No ad to show.] I have no error or block in Admob. Both my ads (ios and android) are ready.
Thanks
Platforms
Only on iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response