埋点配置

This commit is contained in:
18401019693
2023-08-28 16:52:19 +08:00
parent bebf0820ca
commit 1a58311e26
10 changed files with 47 additions and 23 deletions

View File

@@ -168,8 +168,7 @@ public class AppContext extends CommonAppContext {
//设置LOG开关默认为false
UMConfigure.setLogEnabled(true);
//友盟预初始化
UMConfigure.preInit(getApplicationContext(),"64e40ee55488fe7b3afa2c96","PDLive");
//友盟正式初始化
UMConfigure.init(getApplicationContext(), "64e40ee55488fe7b3afa2c96", "PDLive", UMConfigure.DEVICE_TYPE_PHONE,
"64e40ee55488fe7b3afa2c96");