Cannot have different splash images

SDK Version: 49.0.13
Platforms: Android and iOS

I am looking for a way to have light and dark splash images, depending on the user’s default theme. I tried to reproduce with Snack but I couldn’t use any config file to prove it so here is a snippet :

"userInterfaceStyle": "automatic",
"ios": {
     "splash": {
        "backgroundColor": "#ffffff",
        "image": "./assets/splash.png",
        "resizeMode": "contain",
        "dark": {
          "backgroundColor": "#000000",
          "image": "./assets/splash-dark.png",
          "resizeMode": "contain"
        }
      }
    }

I have also added this to the package.json file

“expo-system-ui”: “~2.4.0”,

Existing issues or informations :

Okay so I figured out the solution : I was testing my app through the expo go app and this is why it wasn’t working out. To solve this I had to create a build and launch the APK on a real Android device or a simulator.

Link to the build
Link to the APK

1 Like

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