feat: 头条推广包转化归因优化及SDK更新 https://jira.shanqu.cc/browse/GHZSCY-7525.cc/browse/GHZSCY-7525
This commit is contained in:
@ -77,6 +77,7 @@
|
||||
|
||||
### TEA
|
||||
-keep class com.gh.gamecenter.TeaHelper { *; }
|
||||
-keep class com.bytedance.ads.convert.broadcast.common.EncryptionTools {*;}
|
||||
|
||||
### EasyFloat
|
||||
-keep class com.lzf.easyfloat.* {*;}
|
||||
|
||||
Binary file not shown.
BIN
app/src/gdt/libs/GDTActionSDK.min.1.9.1.aar
Normal file
BIN
app/src/gdt/libs/GDTActionSDK.min.1.9.1.aar
Normal file
Binary file not shown.
@ -3,6 +3,7 @@ package com.gh.gamecenter
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.text.TextUtils
|
||||
import com.bytedance.ads.convert.BDConvert
|
||||
import com.bytedance.applog.AppLog
|
||||
import com.bytedance.applog.InitConfig
|
||||
import com.bytedance.applog.game.GameReportHelper
|
||||
@ -26,6 +27,7 @@ object TeaHelper {
|
||||
config.isLogEnable = BuildConfig.DEBUG
|
||||
config.isAutoTrackEnabled = false
|
||||
AppLog.setEncryptAndCompress(true)
|
||||
BDConvert.getInstance().init(context)
|
||||
AppLog.init(context, config, activity)
|
||||
|
||||
AppLog.setOaidObserver {
|
||||
|
||||
@ -72,8 +72,8 @@ ext {
|
||||
|
||||
bugly = "2.6.6"
|
||||
buglyTinkerSupport = "1.3.4"
|
||||
bytedanceApplog = "6.16.3"
|
||||
bytedanceAppConvert = "1.2.4.5"
|
||||
bytedanceApplog = "6.16.9"
|
||||
bytedanceAppConvert = "1.3.2.1"
|
||||
|
||||
// 权限申请库
|
||||
rxPermissions = "0.11"
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file('oaid_sdk_2.3.0.aar'))
|
||||
artifacts.add("default", file('oaid_sdk_2.5.1.aar'))
|
||||
Binary file not shown.
BIN
feature/oaid_lib/oaid_sdk_2.5.1.aar
Normal file
BIN
feature/oaid_lib/oaid_sdk_2.5.1.aar
Normal file
Binary file not shown.
@ -132,6 +132,7 @@ public class OkHttpCacheInterceptor implements Interceptor {
|
||||
.addHeader("CHANNEL", appProvider.getChannel())
|
||||
.addHeader("VERSION", packageUtilsConfig.getGhVersionName())
|
||||
.addHeader("OAID", appProvider.getOaid())
|
||||
.addHeader("DIA", MetaUtil.getBase64EncodedAndroidId())
|
||||
.removeHeader("User-Agent")
|
||||
.addHeader("User-Agent", appProvider.getUserAgent())
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user