[Android] Blank screen before splash screen when setting resizeMode to "cover"

Hello expo developers,

I am currently facing problem in standalone app (expo v32, not ejected, Android)
which applies to splashscreen settings.
When setting resizeMode to “cover” in app.json, image should be selected depending on the size of the device but instead it shows blank white screen ( and sometimes blue spinner ) and then after that it shows custom image set by the user.
(look at gifs)

( CONTAIN )


( COVER )

it looks really bad :confused:
my app.json settings about splashscreen

"splash": {
      "image": "assets/images/splash.png",
      "resizeMode": "cover",
      "backgroundColor": "#000000"
    } ...

and

"android": {
      "googleServicesFile": "./google-services.json",
      "package": "x",
      "versionCode":5,
      "splash": {
        "backgroundColor": "#000000",
        "resizeMode": "cover",
        "ldpi": "assets/images/android/ldpi.png",
        "mdpi": "assets/images/android/mdpi.png",
        "hdpi": "assets/images/android/hdpi.png",
        "xhdpi": "assets/images/android/xhdpi.png",
        "xxhdpi": "assets/images/android/xxhdpi.png",
        "xxxhdpi": "assets/images/android/xxxhdpi.png"
      },
      "config": {
        "googleSignIn": {
          "apiKey":"x",
          "certificateHash":"x"
        }
      } ....

Is there any way to change that and show my screen without white flash instead ?
There were posts about it earlier but no one seems to answer them or they were closed without fix.
Thanks for any help

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.