Skip to content

Commit de15fca

Browse files
committed
Better release signing config, "fix" release build
1 parent 15b4b2b commit de15fca

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

android/app/build.gradle

+9-1
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,19 @@ android {
106106
release {
107107
// Caution! In production, you need to generate your own keystore file.
108108
// see https://reactnative.dev/docs/signed-apk-android.
109-
signingConfig signingConfigs.debug
109+
if (project.hasProperty('ENDERCHAT_UPLOAD_STORE_FILE')) {
110+
signingConfig signingConfigs.release
111+
} else {
112+
signingConfig signingConfigs.debug
113+
}
110114
minifyEnabled enableProguardInReleaseBuilds
111115
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
112116
}
113117
}
118+
// TODO: react-native-vector-icons is causing issues, so this is disabled for now
119+
lintOptions {
120+
checkReleaseBuilds false
121+
}
114122
}
115123

116124
dependencies {

0 commit comments

Comments
 (0)