Vivek S
Vivek S

Reputation: 325

How to change icon and the app name of the expo push notification?

Push Notification Image

I tried to change icon but could not but at least I need to change the app name there. If someone can help me with this issue. I really appreciate, thank you!

{"expo": {
"name": "App Name",
"notification": {
  "icon": "./assets/appGrey96.png",
  "color": "#3B3B3B",
  "iosDisplayInForeground": true
},
"description": "Demo",
"slug": "releasev2",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/appIcon.png",
"splash": {
  "image": "./assets/splash.png",
  "resizeMode": "contain",
  "backgroundColor": "#ffffff"
},
"updates": {
  "fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
  "**/*"
],
"ios": {
  "supportsTablet": true,
  "bundleIdentifier": "IOS"
},
"android": {
  "adaptiveIcon": {
    "foregroundImage": "./assets/appIcon.png",
    "backgroundColor": "#50dbb6"
  },
  "package": "com.dummyRelease"
},
"web": {
  "favicon": "./assets/appIcon.png"
}

} }

Upvotes: 1

Views: 2820

Answers (1)

PhoenixCreation
PhoenixCreation

Reputation: 116

Try in standalone build. It will be changed to the app's name and icon in standalone build.

If you are running your app in expo go then it will show expo go app's name and icon there. Will not do this in standalone build.

Upvotes: 1

Related Questions