Commit 7eb853ba24782a5b378be6dccb4e80a9f0001481

Authored by 赵康
1 parent 998c3827ad
Exists in master

增加混淆配置

Showing 2 changed files with 7 additions and 3 deletions Side-by-side Diff

1 1 # Gump SDK 5 for Android接入文档
2 2  
3 3 V5
4   -2019年08月01
  4 +2019年08月06
5 5  
6 6 ## 版本概述
7 7  
... ... @@ -22,7 +22,7 @@ V5
22 22 }
23 23 dependencies {
24 24 //登录功能依赖
25   - implementation 'com.gump:Passport:5.2.2'
  25 + implementation 'com.gump:Passport:5.2.3'
26 26 //支付功能依赖
27 27 implementation 'com.gump:Payment:5.2.5'
28 28 }
... ... @@ -190,5 +190,9 @@ PurchaseCallback为支付状态回调接口,此接口含有3个方法
190 190 Ø 请开发者在混淆配置文件proguard.cfg或proguard-project.txt的最后加上
191 191  
192 192 -keep class com.gump.payment.web.* {*;}
  193 + -keepclassmembers class com.gump.gpassport.LinkHandler{
  194 + public <methods>;
  195 + }
  196 + -keepclassmembers class com.gump.gpassport.LinkHandler$Result{*;}
193 197  
194 198 使得混淆的时候不会影响SDK的命名空间。
195 199 \ No newline at end of file
... ... @@ -42,7 +42,7 @@ dependencies {
42 42 // implementation 'com.gump:base:5.1.1'
43 43 // implementation project(':base')
44 44 // 登录功能依赖
45   - implementation 'com.gump:Passport:5.2.2'
  45 + implementation 'com.gump:Passport:5.2.3'
46 46 // implementation project(':passport')
47 47 //支付功能依赖
48 48 implementation 'com.gump:Payment:5.2.5'