Change App Name React Native
1 min readApr 3, 2019
Often, we do not put much thought into naming a project when we start it off. But later, especially when trying to make a distribution-ready application, we want a good, catchy name for our app. In React Native, it is not very clear as to how we can change the name of our application. Here is how you can do it:
- Make a backup of any files you made changes to inside your
android
orios
directory. - Remove both these directories.
- Open
app.json
from the project’s root directory and change the value of the key calleddisplayName
to whatever you want the name of your application to be. - Run the command
react-native eject
at your project’s root directory. This command will create theandroid
andios
directories. - Replace the files that you backed up before removing the two directories.
Done! You have changed your app name!