添加proguard混淆规则
This commit is contained in:
parent
617fb0c1a2
commit
5a13f82f2e
@ -14,6 +14,7 @@ android {
|
|||||||
targetSdkVersion safeExtGet('targetSdkVersion', 27)
|
targetSdkVersion safeExtGet('targetSdkVersion', 27)
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
consumerProguardFiles "proguard.pro"
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
|
2
android/proguard.pro
vendored
Normal file
2
android/proguard.pro
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
-keepnames class cn.reactnative.modules.update.DownloadTask { *; }
|
||||||
|
-keepnames class com.facebook.react.ReactInstanceManager { *; }
|
Loading…
x
Reference in New Issue
Block a user