different version codes for 32- and 64-bit

This commit is contained in:
Akinwale Ariwodola 2019-08-12 16:43:51 +01:00
parent bf57de9d96
commit 305e62746c
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion {{ args.min_sdk_version }} minSdkVersion {{ args.min_sdk_version }}
targetSdkVersion {{ android_api }} targetSdkVersion {{ android_api }}
versionCode {{ args.numeric_version }} versionCode {{ args.numeric_version }} * 10 + 2
versionName '{{ args.version }}' versionName '{{ args.version }}'
missingDimensionStrategy 'react-native-camera', 'general' missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true multiDexEnabled true

View file

@ -35,7 +35,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion {{ args.min_sdk_version }} minSdkVersion {{ args.min_sdk_version }}
targetSdkVersion {{ android_api }} targetSdkVersion {{ android_api }}
versionCode {{ args.numeric_version }} versionCode {{ args.numeric_version }} * 10 + 1
versionName '{{ args.version }}' versionName '{{ args.version }}'
missingDimensionStrategy 'react-native-camera', 'general' missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true multiDexEnabled true