玩转互联

模块引入

    implementation WB.fixVersions('AD:Uniplay')

    implementation WB.fixVersions('AD:UniplayA')(隐藏广告)

注意事项

混淆过滤

-keep class com.uniplay.adsdk.**
-keep class com.joomob.**
-keep class * implements android.os.Parcelable {   public static final android.os.Parcelable$Creator *; }
-keepattributes Annotation
-keepattributes JavascriptInterface
-keepclassmembers class * { @android.webkit.JavascriptInterface <methods>; }
-keepclassmembers public class com.uniplay.adsdk.JavaScriptInterface{ <fields>; <methods>; public *; private *; }
-dontwarn com.wzhl.**
-keep class com.wzhl.** { *; }

集成测试

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

通过UniplayAgent或者ADLog查看广告的状态,或者直接通过弹出的广告进行判断

最后更新于