Reputation: 13578
I have a React Native app. It appears the version number can be defined in both build.gradle and AndroidManifest.xml.
Should I manage app versioning from build.gradle or AndroidManifest.xml and why?
Upvotes: 2
Views: 117
Reputation: 804
it is correct that you define it in build.gradle, but if you want to define it in manifest.xml, you can do it, but you must remove app version from build.gradle. I suggest you use build.gradle.
Upvotes: 0
Reputation: 137
you should manage the app version from the build gradle as it overrides whatever is written in the manifest.
Upvotes: 3