简体   繁体   中英

Can I safely remove app.json in a ejected react-native project?

I have a react native project which I ejected and now I see I have config files( app.json and package.json ) with lots of duplicate information, not to mention the underlying info contained in the iOS/android projects. Specifically I am talking about version, name, package name etc.

My question is do I need to keep both if I am not using the managed workflow?

According to notbrent from the Expo Team, it's exclusively used by expo-updates you can safely remove it if you don't plan to use it.

You can follow the thread here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM