Fix Android build signing configuration
This commit is contained in:
@@ -87,13 +87,13 @@ android {
|
||||
buildToolsVersion rootProject.ext.buildToolsVersion
|
||||
compileSdk rootProject.ext.compileSdkVersion
|
||||
|
||||
namespace "com.schnappix"
|
||||
namespace 'de.orfel.schnappix'
|
||||
defaultConfig {
|
||||
applicationId "com.schnappix"
|
||||
applicationId 'de.orfel.schnappix'
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
versionCode 12
|
||||
versionName "23.01.12"
|
||||
|
||||
buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
|
||||
}
|
||||
@@ -104,6 +104,14 @@ android {
|
||||
keyAlias 'androiddebugkey'
|
||||
keyPassword 'android'
|
||||
}
|
||||
|
||||
release {
|
||||
storeFile file("../../schnappix-upload-key.keystore")
|
||||
storePassword "#O0he7k00O0he7k00!"
|
||||
keyAlias "schnappix-alias"
|
||||
keyPassword "#O0he7k00O0he7k00!"
|
||||
}
|
||||
|
||||
}
|
||||
buildTypes {
|
||||
debug {
|
||||
@@ -112,7 +120,7 @@ android {
|
||||
release {
|
||||
// Caution! In production, you need to generate your own keystore file.
|
||||
// see https://reactnative.dev/docs/signed-apk-android.
|
||||
signingConfig signingConfigs.debug
|
||||
signingConfig signingConfigs.release
|
||||
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
|
||||
shrinkResources enableShrinkResources.toBoolean()
|
||||
minifyEnabled enableMinifyInReleaseBuilds
|
||||
@@ -153,6 +161,10 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Added by withLocalAars plugin
|
||||
implementation files("../../modules/usb-camera/android/libs/immersionbar-3.0.0.aar")
|
||||
implementation files("../../modules/usb-camera/android/libs/webpdecoder-1.6.4.9.0.aar")
|
||||
|
||||
// The version of react-native is set by the React Native Gradle Plugin
|
||||
implementation("com.facebook.react:react-android")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user