React Native : 0.41 app.json
What is the thing with the new app.json file generated in react native. I recently upgraded to 0.41.2 and found a new app.json file in my react project directory. Can someone help me figure out what this file is actually for ?
That's used for the new react-native eject
command. As stated in the RN source code:
The eject command re-creates the
android
andios
native folders. Because native code can be difficult to maintain, this new script allows anapp.json
to be defined for the project, which is used to configure the native app. Theapp.json
config may contain the following keys:
name
- The short name used for the project, should be TitleCasedisplayName
- The app's name on the home screen
Feel free to check the source
Comments
Post a Comment