修复cronetEngine初始化失败 (#2361)

* build: just keep org.chromium.**
pull/2362/head
Xwite 2 years ago committed by GitHub
parent 45294c1d84
commit 769902f364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/proguard-rules.pro

@ -154,6 +154,7 @@
# hutool-core hutool-crypto
-keep class cn.hutool.core.**{*;}
-keep class cn.hutool.crypto.**{*;}
-dontwarn cn.hutool.**
# 缓存 Cookie
-keep class **.help.http.CookieStore{*;}
-keep class **.help.CacheManager{*;}
@ -237,8 +238,7 @@
!private *;
*;
}
-keep class org.chromium.net.impl.JavaCronetProvider{*;}
-keep class org.chromium.net.impl.NativeCronetProvider{*;}
-keep class org.chromium.** {*;}
-keep class com.google.android.gms.net.PlayServicesCronetProvider{*;}
-keep class com.google.android.gms.net.GmsCoreCronetProvider{*;}

Loading…
Cancel
Save