I built a React Native App using Expo and am trying to test it using TestFlight. After looking online, I saw that you can change the name that appears on the homescreen of the app by setting displayName in the app.json file. For some reason after setting this, my app name recognizes the display name but then quickly changes back to the app name when installing. Did I make a mistake in the app.json? I looked everywhere and was under the impression that if i set the app.json, this should be enough.
In my app.json, I am setting display name here:
"expo": {
"name": "ec_mobile_app",
"slug": "ec_mobile_app",
"displayName": "Educonsults",
...
}
and I even set display name within the Ios block:
"ios": {
"supportsTablet": true,
"buildNumber": "3",
"displayName": "Educonsults"
},
Short video of issue
For iOS ( expo 52 & eas build), you can also explicitly set CFBundleDisplayName in the infoPlist section like this
"expo": {
"name": "ec_mobile_app",
"slug": "ec_mobile_app",
"displayName": "Educonsults",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.yourapp.bundleid",
"buildNumber": "3",
"infoPlist": {
"CFBundleDisplayName": "Educonsults"
}
}
}
}