1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

添加proguard混淆规则

This commit is contained in:
sunnylqm 2019-09-18 21:30:52 +08:00
parent 617fb0c1a2
commit 5a13f82f2e
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ android {
targetSdkVersion safeExtGet('targetSdkVersion', 27)
versionCode 1
versionName "1.0"
consumerProguardFiles "proguard.pro"
}
sourceSets {
main {

2
android/proguard.pro vendored Normal file
View File

@ -0,0 +1,2 @@
-keepnames class cn.reactnative.modules.update.DownloadTask { *; }
-keepnames class com.facebook.react.ReactInstanceManager { *; }