0 purchases
alibc
阿里百川SDK #
接入说明 #
仅支持android,暂不支持IOS
copied to clipboard
更新日志 #
- 2022.3.31 更新Android百川组件至最新版
copied to clipboard
1. 注册 #
阿里百川,
注册阿里百川账号,创建应用,申请权限
2. 生成安全图片 #
登录阿里百川开发者控制台, 获取V5版安全图片,放入res/drawable/yw_1222.jpg
3. 修改文件 #
修改android目录下AndroidManifest.xml文件,增加内容:
xmlns:tools="http://schemas.android.com/tools"
tools:replace="android:label"
<manifest
xmlns:tools="http://schemas.android.com/tools">
<application
tools:replace="android:label">
...
copied to clipboard
4. 混淆文件 #
在android/app/目录下新增proguard-rules.pro文件,
参考官方说明
内容:
-keepattributes Signature
-ignorewarnings
-keep class javax.ws.rs.** { *; }
-keep class com.alibaba.fastjson.** { *; }
-dontwarn com.alibaba.fastjson.**
-keep class sun.misc.Unsafe { *; }
-dontwarn sun.misc.**
-keep class com.taobao.** {*;}
-keep class com.alibaba.** {*;}
-keep class com.alipay.** {*;}
-dontwarn com.taobao.**
-dontwarn com.alibaba.**
-dontwarn com.alipay.**
-keep class com.ut.** {*;}
-dontwarn com.ut.**
-keep class com.ta.** {*;}
-dontwarn com.ta.**
-keep class org.json.** {*;}
-keep class com.ali.auth.** {*;}
-dontwarn com.ali.auth.**
-keep class com.taobao.securityjni.** {*;}
-keep class com.taobao.wireless.security.** {*;}
-keep class com.taobao.dp.**{*;}
-keep class com.alibaba.wireless.security.**{*;}
-keep interface mtopsdk.mtop.global.init.IMtopInitTask {*;}
-keep class * implements mtopsdk.mtop.global.init.IMtopInitTask {*;}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.