Browse Source

[fit]增加混淆规则

zk 6 months ago
parent
commit
d372493459
1 changed files with 47 additions and 2 deletions
  1. 47 2
      android/app/proguard-rules.pro

+ 47 - 2
android/app/proguard-rules.pro

@@ -152,5 +152,50 @@ public <methods>;
 -keep class io.flutter.** { *; }
 
 #flutter end
-
-
+-dontwarn com.google.android.play.core.splitcompat.SplitCompatApplication
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallException
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallManager
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallManagerFactory
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallRequest$Builder
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallRequest
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallSessionState
+-dontwarn com.google.android.play.core.splitinstall.SplitInstallStateUpdatedListener
+-dontwarn com.google.android.play.core.tasks.OnFailureListener
+-dontwarn com.google.android.play.core.tasks.OnSuccessListener
+-dontwarn com.google.android.play.core.tasks.Task
+
+# Please add these rules to your existing keep rules in order to suppress warnings.
+# This is generated automatically by the Android Gradle plugin.
+-dontwarn com.android.id.impl.IdProviderImpl
+-dontwarn com.huawei.hmf.tasks.OnFailureListener
+-dontwarn com.huawei.hmf.tasks.OnSuccessListener
+-dontwarn com.huawei.hmf.tasks.Task
+-dontwarn com.huawei.hms.aaid.HmsInstanceId
+-dontwarn com.huawei.hms.aaid.entity.AAIDResult
+-dontwarn com.huawei.hms.opendevice.OpenDevice
+-dontwarn com.huawei.hms.opendevice.OpenDeviceClient
+-dontwarn com.huawei.hms.support.api.opendevice.OdidResult
+-dontwarn okhttp3.Call
+-dontwarn okhttp3.Callback
+-dontwarn okhttp3.Connection
+-dontwarn okhttp3.EventListener$Factory
+-dontwarn okhttp3.EventListener
+-dontwarn okhttp3.Handshake
+-dontwarn okhttp3.HttpUrl
+-dontwarn okhttp3.Interceptor$Chain
+-dontwarn okhttp3.Interceptor
+-dontwarn okhttp3.MediaType
+-dontwarn okhttp3.OkHttpClient$Builder
+-dontwarn okhttp3.OkHttpClient
+-dontwarn okhttp3.Protocol
+-dontwarn okhttp3.Request$Builder
+-dontwarn okhttp3.Request
+-dontwarn okhttp3.RequestBody
+-dontwarn okhttp3.Response$Builder
+-dontwarn okhttp3.Response
+-dontwarn okhttp3.ResponseBody
+-dontwarn okio.BufferedSink
+-dontwarn okio.BufferedSource
+-dontwarn okio.Okio
+-dontwarn okio.Sink
+-dontwarn okio.Source