mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 05:43:11 +08:00
添加proguard混淆规则
This commit is contained in:
@@ -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 { *; }
|
||||||
Reference in New Issue
Block a user