react native android version code code example
Example 1: react native android version code
// android/app/build.gradle
android {
defaultConfig {
versionCode 1
versionName "1.0"
{...}
}
{...}
}
Example 2: react native version
$ npm install react-native-version --save-dev# or $ yarn add react-native-version --dev