Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added release config, versionCode 611 #2879

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ android {
applicationId "lab.childmindinstitute.data"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 607
versionCode 612
versionName "0.21.54"
missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
Expand All @@ -143,22 +143,24 @@ android {
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
// signingConfigs {
// debug {
// storeFile file('debug.keystore')
// storePassword 'android'
// keyAlias 'androiddebugkey'
// keyPassword 'android'
// }
// }
signingConfigs {
release {
if (project.hasProperty('ML_UPLOAD_STORE_FILE')) {
storeFile file(ML_UPLOAD_STORE_FILE)
storePassword ML_UPLOAD_STORE_PASSWORD
keyAlias ML_UPLOAD_KEY_ALIAS
keyPassword ML_UPLOAD_KEY_PASSWORD
}
}
}
buildTypes {
// debug {
// signingConfig signingConfigs.debug
// }
release {
// Caution! In production, you need to generate your own keystore file.
// see https://facebook.github.io/react-native/docs/signed-apk-android.
// signingConfig signingConfigs.debug
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
Expand Down Expand Up @@ -232,7 +234,7 @@ dependencies {

configurations.all {
resolutionStrategy {
force "com.facebook.soloader:soloader:0.8.2"
force "com.facebook.soloader:soloader:0.10.4"
}
}

Expand Down
4 changes: 2 additions & 2 deletions ios/MDCApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 607;
CURRENT_PROJECT_VERSION = 612;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = 8RHKE85KB6;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -863,7 +863,7 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 607;
CURRENT_PROJECT_VERSION = 612;
DEVELOPMENT_TEAM = 8RHKE85KB6;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = MDCApp/Info.plist;
Expand Down