Filedownloader: 混淆配置问题

Created on 17 Jun 2016  ·  3Comments  ·  Source: lingochamp/FileDownloader

请问一下 这个下载库有混淆配置的相关信息可以参考嘛?

question

All 3 comments

混淆方面,只要确保 okhttp 那边没有问题。保证 Parcelable 的实现类不被混淆就可以了。

# Parcelable
-keep class * implements android.os.Parcelable {
  public static final android.os.Parcelable$Creator *;
}

# okhttp
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-dontwarn com.squareup.okhttp.**

-dontwarn okio.**

@Jacksgong 了解了,多谢!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndyGu picture AndyGu  ·  3Comments

valmeeki001 picture valmeeki001  ·  3Comments

itsmallsun picture itsmallsun  ·  5Comments

itsmallsun picture itsmallsun  ·  4Comments

SamuelGjk picture SamuelGjk  ·  3Comments