File tree 2 files changed +19
-5
lines changed
2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,19 @@ android {
83
83
versionName " 1.0"
84
84
}
85
85
signingConfigs {
86
- debug {
87
- storeFile file(' debug.keystore' )
88
- storePassword ' android'
89
- keyAlias ' androiddebugkey'
90
- keyPassword ' android'
86
+ // debug {
87
+ // storeFile file('debug.keystore')
88
+ // storePassword 'android'
89
+ // keyAlias 'androiddebugkey'
90
+ // keyPassword 'android'
91
+ // }
92
+ release {
93
+ if (project. hasProperty(' MYAPP_RELEASE_STORE_FILE' )) {
94
+ storeFile file(MYAPP_RELEASE_STORE_FILE )
95
+ storePassword MYAPP_RELEASE_STORE_PASSWORD
96
+ keyAlias MYAPP_RELEASE_KEY_ALIAS
97
+ keyPassword MYAPP_RELEASE_KEY_PASSWORD
98
+ }
91
99
}
92
100
}
93
101
buildTypes {
Original file line number Diff line number Diff line change @@ -39,3 +39,9 @@ newArchEnabled=false
39
39
# Use this property to enable or disable the Hermes JS engine.
40
40
# If set to false, you will be using JSC instead.
41
41
hermesEnabled =true
42
+
43
+
44
+ MYAPP_RELEASE_STORE_FILE =my-release-key.keystore
45
+ MYAPP_RELEASE_KEY_ALIAS =my-key-alias
46
+ MYAPP_RELEASE_STORE_PASSWORD =199619
47
+ MYAPP_RELEASE_KEY_PASSWORD =199619
You can’t perform that action at this time.
0 commit comments