skip to Main Content

I have build react native expo app everthing is working fine but splash screen and app icon is not coming.

Here is my app.json:

{
  "expo": {
    "name": "testing",
    "slug": "testing",
    "version": "2.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    }
  }
}

I have tried to clean cache and also tried to rebuild the project but still not getting the app icon and splash screen.

everything is up-to-date in my project.

Please help me with the solution. I would love to hear responses from your.

2

Answers


  1. Chosen as BEST ANSWER

    I have tried this and fortunately, it's working now:

    npx expo prebuild --clean
    

    then

    npx expo prebuild  
    

  2. @Mohd. Anas Siddiqui’ solutions worked for me, which i want to delete the default expo splash screen. thanks.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search