-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
集成第三方登录分享并进行抽取隔离,新增界面状态布局(空数据、请求异常、网络异常)、集成 EventBus Apt 插件、新增常用界面模板(…
…个人资料、校验手机、重置手机、查看大图)、新增两个对话框(更新对话框、分享对话框)
- Loading branch information
Showing
239 changed files
with
5,551 additions
and
1,154 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,52 @@ | ||
# 混淆保护自己项目的部分代码以及引用的第三方jar包 | ||
#-libraryjars libs/umeng-analytics-v5.2.4.jar | ||
|
||
# 标题栏框架 | ||
-keep class com.hjq.bar.** {*;} | ||
|
||
# 吐司框架 | ||
-keep class com.hjq.toast.** {*;} | ||
|
||
# 权限请求框架 | ||
-keep class com.hjq.permissions.** {*;} | ||
|
||
# 友盟 | ||
-keep class com.umeng.**{*;} | ||
|
||
# 支付宝 | ||
-keep class com.alipay.android.app.IAliPay{*;} | ||
-keep class com.alipay.android.app.IAlixPay{*;} | ||
-keep class com.alipay.android.app.IRemoteServiceCallback{*;} | ||
-keep class com.alipay.android.app.lib.ResourceMap{*;} | ||
|
||
#移除log 测试了下没有用还是建议自己定义一个开关控制是否输出日志 | ||
#-assumenosideeffects class android.util.Log { | ||
# public static boolean isLoggable(java.lang.String, int); | ||
# public static int v(...); | ||
# public static int i(...); | ||
# public static int w(...); | ||
# public static int d(...); | ||
# public static int e(...); | ||
#} | ||
|
||
# webview + js | ||
-keepattributes *JavascriptInterface* | ||
# keep 使用 webview 的类 | ||
-keepclassmembers class com.veidy.activity.WebViewActivity { | ||
public *; | ||
} | ||
# keep 使用 webview 的类的所有的内部类 | ||
-keepclassmembers class com.veidy.activity.WebViewActivity$*{ | ||
*; | ||
} | ||
|
||
# 不混淆WebChromeClient中的openFileChooser方法 | ||
-keepclassmembers class * extends android.webkit.WebChromeClient{ | ||
public void openFileChooser(...); | ||
} | ||
|
||
#极光推送 | ||
-dontoptimize | ||
-dontpreverify | ||
|
||
-dontwarn cn.jpush.** | ||
-keep class cn.jpush.** { *; } | ||
-keep class * extends cn.jpush.android.helpers.JPushMessageReceiver { *; } | ||
|
||
-dontwarn cn.jiguang.** | ||
-keep class cn.jiguang.** { *; } | ||
|
||
######################################################## | ||
|
||
# 友盟统计 | ||
-keep class com.umeng.** {*;} | ||
-keepclassmembers class * { | ||
public <init> (org.json.JSONObject); | ||
} | ||
-keepclassmembers enum * { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
-keep public class [您的应用包名].R$*{ | ||
public static final int *; | ||
} | ||
# 忽略警告 | ||
#-ignorewarning | ||
|
||
# 混淆保护自己项目的部分代码以及引用的第三方jar包 | ||
#-libraryjars libs/umeng-analytics-v5.2.4.jar | ||
|
||
-keep class com.github.chrisbanes.photoview.** {*;} | ||
|
||
# 标题栏框架 | ||
-keep class com.hjq.bar.** {*;} | ||
|
||
# 吐司框架 | ||
-keep class com.hjq.toast.** {*;} | ||
|
||
# 权限请求框架 | ||
-keep class com.hjq.permissions.** {*;} | ||
|
||
#移除log 测试了下没有用还是建议自己定义一个开关控制是否输出日志 | ||
#-assumenosideeffects class android.util.Log { | ||
# public static boolean isLoggable(java.lang.String, int); | ||
# public static int v(...); | ||
# public static int i(...); | ||
# public static int w(...); | ||
# public static int d(...); | ||
# public static int e(...); | ||
#} | ||
|
||
# webview + js | ||
-keepattributes *JavascriptInterface* | ||
# keep 使用 webview 的类 | ||
-keepclassmembers class com.veidy.activity.WebViewActivity { | ||
public *; | ||
} | ||
# keep 使用 webview 的类的所有的内部类 | ||
-keepclassmembers class com.veidy.activity.WebViewActivity$*{ | ||
*; | ||
} | ||
|
||
# 不混淆WebChromeClient中的openFileChooser方法 | ||
-keepclassmembers class * extends android.webkit.WebChromeClient{ | ||
public void openFileChooser(...); | ||
} | ||
|
||
# EventBus3 | ||
-keepattributes *Annotation* | ||
-keepclassmembers class ** { | ||
@org.greenrobot.eventbus.Subscribe <methods>; | ||
} | ||
-keep enum org.greenrobot.eventbus.ThreadMode { *; } | ||
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent { | ||
<init>(java.lang.Throwable); | ||
} |
Oops, something went wrong.