react-native-version icon indicating copy to clipboard operation
react-native-version copied to clipboard

Not updating Android

Open CarbonC opened this issue 8 years ago • 4 comments

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

CarbonC avatar Oct 04 '17 10:10 CarbonC

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.

stovmascript avatar Oct 04 '17 10:10 stovmascript

@CarbonC Are you using create-react-native-app by any chance?

stovmascript avatar Oct 05 '17 08:10 stovmascript

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"
        ...
    }

VinceBT avatar Jun 01 '18 12:06 VinceBT

I think we can rename the issue to "No warn/error on android update fail" or something

HugoGresse avatar Jul 30 '20 13:07 HugoGresse