How can I apply the changes made in app.json? update splash screen in my expo app

148 views Asked by At

I am trying to change my default Splash screen in my Expo app with a new one. I am using EAS profile development.

this is my app.json

{
  "expo": {
    "name": "blue-kiwi",
    "slug": "blue-kiwi",
    "version": "1.0.1",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "cover",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.basselturky.bluekiwi"
    },
    "web": {
      "favicon": "./assets/favicon.png" 
    }
  }
}

I put my new splash.png in the assets folder but it keeps showing the default one.

I tried to rebuild but nothing worked.

I want to be able to change it whenever I want and the splash updates instantly.

0

There are 0 answers