Adjust

模块引入

    implementation 'com.libVigame.TJ:Adjust:1.0.5'

配置文件说明

需要在app的build.gradle的添加如下配置:
android {
    manifestPlaceholders = [
    ....
                ADJUST_TOKEN:"xxx", //应用识别码,adjust后台获取               
                ADJUST_TESTMODEL:"false", //是否是测试模式, 测试时设置为 true,注意正式版一定要为false
    ...
            ]
    }
}

混淆过滤

-keep class com.adjust.sdk.** { *; }
-keep class com.google.android.gms.common.ConnectionResult {
    int SUCCESS;
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
    com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context);
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
    java.lang.String getId();
    boolean isLimitAdTrackingEnabled();
}
-keep public class com.android.installreferrer.** { *; }

其他注意事项

最后更新于

这有帮助吗?