react-native-version
react-native-version copied to clipboard
Not updating Android
I followed the exact step and your script works well with IOS, but when looking at android app version inside emulator it remains the same. No android files are changed though
Could you post some version info? RN, node, etc. Or a sample project would be even better. Look into the test fixtures folder here and you'll see the sample project I would use to compare and test.
@CarbonC Are you using create-react-native-app by any chance?
Had the same issue at first and it was only because my build.gradle was missing versionCode and versionName variables inside defaultConfig so nothing was changed. Try to add them
defaultConfig {
...
versionCode 1
versionName "0.0.1"
...
}
I think we can rename the issue to "No warn/error on android update fail" or something