Update proguard-rules.pro

fix #2357
pull/2361/head
Xwite 2 years ago committed by GitHub
parent 5656631d24
commit 45294c1d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      app/proguard-rules.pro

@ -237,6 +237,10 @@
!private *; !private *;
*; *;
} }
-keep class org.chromium.net.impl.JavaCronetProvider{*;}
-keep class org.chromium.net.impl.NativeCronetProvider{*;}
-keep class com.google.android.gms.net.PlayServicesCronetProvider{*;}
-keep class com.google.android.gms.net.GmsCoreCronetProvider{*;}
## 保证该私有变量不被混淆 ## 保证该私有变量不被混淆
-keepclassmembers class com.google.android.exoplayer2.upstream.cache.CacheDataSource$Factory { -keepclassmembers class com.google.android.exoplayer2.upstream.cache.CacheDataSource$Factory {
@ -244,5 +248,5 @@
private DataSource.Factory upstreamDataSourceFactory; private DataSource.Factory upstreamDataSourceFactory;
} }
## web服务传输数据 ## 对外提供api
-keep class io.legado.app.api.ReturnData{*;} -keep class io.legado.app.api.ReturnData{*;}

Loading…
Cancel
Save