I've been working on a React Native app and just noticed there are two different AndroidManifest.xml files: android/app/src/main/AndroidManifest.xml and android/app/src/debug/AndroidManifest.xml.
What's the difference between these two? And more generally, what's the difference between the debug and main folders in general? Is one used when you're running your app on an emulator and the other used when the app's been pushed to the store, etc?
AndroidManifest in the main directory will be used when you generate a release APK, AndroidManifest in the debug folder will add and/or replace things in the main AndroidManifest when running in dev mode. Running on emulator has nothing to do with dev/release modes. Other than that, you can put more things into the debug folder (like an app icon) that will replace things in your main folder when running in dev mode.
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