Closed andkom closed 11 months ago
@andkom Thanks for the reproduction repository, but unfortunately I can't make it work. I get [Error: [googleMobileAds/no-fill] Ad unit doesn't match format. <https://support.google.com/admob/answer/9905175#4>
@zoontek what is your screen size? Try to use Android Emulator and Google Pixel 3a.
Also stackoverflow says:
To answer the question:
NO_FILL is returned from AdMob when there is no inventory left to serve in the AdMob/DFP backend.
First of all this meant I was requesting an ad of size AxB, but the backend had no ads of this size left to show. It is important that the size you request has inventory left in the backend systems of AdMob/DFP.
Second, their API states that the first time you request an ad to a specific ad unit, you should expect up to two minutes before the ads start serving. I don't know if it is because I am not stationed in the US, but these two minutes often becomes at least 20 minutes if not several hours for me.
@andkom I created a new emulator, Android 13, Google Pixel 3a and get the exact same issue.
It should fix it: https://github.com/zoontek/react-native-bootsplash/releases/tag/5.1.3 I'm still interested to making the reproduction work, this way I will be able to check / debug this use case in futures releases.
Unfortunately, AppOpen Ads stopped working in the example and in the main application in dev environment. The cause is unknown. It works only in release environment.
I found the cause, Google has changed their AppOpen Ad test Unit ID. I updated repository and can confirm v5.1.3 works as expected.
Bug summary
version 5.1.0+ breaks compatibility with
react-native-google-mobile-ads
package's app open Ads.AppOpenAd hides the splash screen while it is displayed.
5.0.4 behavior (expected):
App open => Splash shown => Ad shown over splash => Ad closed => Splash hidden => Main screen shown
5.1.0+ behavior (actual):
App open => Splash shown => Splash hidden => Ad shown over main screen => Ad closed => Splash shown => Splash hidden => Main screen shown
Library version
5.1.2
Environment info
Steps to reproduce
Change
react-native-bootsplash
version to 5.0.4Reproducible sample code