4399

模块引入

    implementation WB.fixVersions('Pay:M4399')

配置文件说明

assets目录加入feedata_huawei.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<data>
    <appkey>119803</appkey>

    <feeinfo>
        <ID>11001</ID>
        <price>100</price>
        <desc>30赠25枚钻石</desc>
    </feeinfo>

</data>

混淆过滤

#华为
-dontwarn android.support.v4.**
-keep class android.support.v4.** { *; }
-keep public class * extends android.support.v4.**

-dontwarn com.unipay.**
-keep class cn.m4399.operate.** {*;}
-keep class cn.m4399.recharge.** {*;}
-keepclassmembers class cn.m4399.recharge.R$* {*;}

集成测试

如何判断sdk是否初始化成功?

暂无

最后更新于