From 45294c1d84976ff4fbe17594aa25f29a0d4c994e Mon Sep 17 00:00:00 2001 From: Xwite <82232510+Xwite@users.noreply.github.com> Date: Sat, 1 Oct 2022 20:03:14 +0800 Subject: [PATCH] Update proguard-rules.pro fix #2357 --- app/proguard-rules.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 861440138..41aa460da 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -237,6 +237,10 @@ !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 { @@ -244,5 +248,5 @@ private DataSource.Factory upstreamDataSourceFactory; } -## web服务传输数据 --keep class io.legado.app.api.ReturnData{*;} \ No newline at end of file +## 对外提供api +-keep class io.legado.app.api.ReturnData{*;}