diff --git a/android/build.gradle b/android/build.gradle index 5967b8b..d695592 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -14,6 +14,7 @@ android { targetSdkVersion safeExtGet('targetSdkVersion', 27) versionCode 1 versionName "1.0" + consumerProguardFiles "proguard.pro" } sourceSets { main { diff --git a/android/proguard.pro b/android/proguard.pro new file mode 100644 index 0000000..4563039 --- /dev/null +++ b/android/proguard.pro @@ -0,0 +1,2 @@ +-keepnames class cn.reactnative.modules.update.DownloadTask { *; } +-keepnames class com.facebook.react.ReactInstanceManager { *; } \ No newline at end of file