File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,6 +93,12 @@ android {
9393 keyAlias ' androiddebugkey'
9494 keyPassword ' android'
9595 }
96+ release {
97+ storeFile file(MYAPP_UPLOAD_STORE_FILE )
98+ storePassword MYAPP_UPLOAD_STORE_PASSWORD
99+ keyAlias MYAPP_UPLOAD_KEY_ALIAS
100+ keyPassword MYAPP_UPLOAD_KEY_PASSWORD
101+ }
96102 }
97103 buildTypes {
98104 debug {
@@ -101,7 +107,7 @@ android {
101107 release {
102108 // Caution! In production, you need to generate your own keystore file.
103109 // see https://reactnative.dev/docs/signed-apk-android.
104- signingConfig signingConfigs. debug
110+ signingConfig signingConfigs. release
105111 minifyEnabled enableProguardInReleaseBuilds
106112 proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
107113 }
Original file line number Diff line number Diff line change @@ -42,3 +42,8 @@ hermesEnabled=true
4242# This allows your app to draw behind system bars for an immersive UI.
4343# Note: Only works with ReactActivity and should not be used with custom Activity.
4444edgeToEdgeEnabled =false
45+
46+ MYAPP_UPLOAD_STORE_FILE =my-upload-key.keystore
47+ MYAPP_UPLOAD_KEY_ALIAS =my-key-alias
48+ MYAPP_UPLOAD_STORE_PASSWORD =password
49+ MYAPP_UPLOAD_KEY_PASSWORD =password
You can’t perform that action at this time.
0 commit comments