Expo development app.json

#1

Hi i am building my first app using CRNA.

I should be ready to deploy it within the next week or so. However i have a few questions, i am trying to setup app.json with the app icon and notification icon. However i am having no luck with this. Will this not show up until i “build?” or what is the deal?

Here is a paste of my app.json:

{
  "expo": {
    "sdkVersion": "23.0.0",
    "orientation": "portrait",
    "name": "My app name",
    "icon": "assets/logo.png",
    "notification": {
      "icon": "assets/logo.png",
      "color": "#931515"
    }
  }
}
#2

Try editing your path for icon and notification icon to

"./assets/logo.png"

1 Like
#3

I did try this. When i open the expo app, i am now able to see the logo of my app I dont presume the expo logo on my device-desktop will change?

However Notification and Splash image isn’t working either, is this suppose to work within expo? Here is the updated app.json with splash:

{
  "expo": {
    "sdkVersion": "23.0.0",
    "orientation": "portrait",
    "name": "My app",
    "icon": "assets/logo.png",
    "notification": {
      "icon": "./assets/logo.png",
      "color": "#931515"
    },
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "cover"
    }
  }
}

#4

changing to ./assets seemed to do the trick thank you @ptgodz

#5

No problem, glad its working:+1:

closed #6

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