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
androidandiosnative folders. Because native code can be difficult to maintain, this new script allows anapp.jsonto be defined for the project, which is used to configure the native app. Theapp.jsonconfig may contain the following keys:
name - The short name used for the project, should be TitleCasedisplayName - The app's name on the home screenFeel free to check the source
Since I don't plan to eject I removed the app.json File (just to have less files flying around at root level). App still works as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With