Commit e4fdc1e3 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent a1163d20
{
"init": {
"site_id": "5412556",
"app_id": "514006",
"partner": "pangle_514006",
"secure_key": "ffe90c9bf1c304e33b6fe1fd95392a1e"
"site_id": "5418501",
"app_id": "517487",
"partner": "pangle_517487",
"secure_key": "21076c6a58372057c98e668a040df6e1"
},
"feed": {
"news_list_ad_code_id": "",
......@@ -12,37 +12,37 @@
"video_first_ad_code_id": "",
"video_second_ad_code_id": "",
"related_ad_code_id": "",
"news_draw_ad_code_id": "952978110",
"news_draw_native_ad_code_id": "952978113",
"news_draw_ad_code_id": "953112031",
"news_draw_native_ad_code_id": "953112016",
"news_outer_list_ad_code_id": "",
"news_outer_first_ad_code_id": "",
"news_outer_second_ad_code_id": "",
"outer_video_second_ad_code_id": "",
"outer_related_ad_code_id": "",
"news_outer_draw_ad_code_id": "952978123",
"news_outer_draw_native_ad_code_id": "952978119",
"news_outer_draw_ad_code_id": "953112032",
"news_outer_draw_native_ad_code_id": "953112019",
"news_interstitial_code_id": ""
},
"small_video": {
"draw_ad_code_id": "952978111",
"draw_native_ad_code_id": "952978126",
"grid_ad_code_id": "952978118",
"grid_draw_ad_code_id": "952978109",
"grid_draw_native_ad_code_id": "952978122",
"video_card_ad_code_id": "952978121",
"video_card_draw_ad_code_id": "952978120",
"video_card_draw_native_ad_code_id": "952978108",
"draw_ad_code_id": "953112033",
"draw_native_ad_code_id": "953112025",
"grid_ad_code_id": "953112028",
"grid_draw_ad_code_id": "953112026",
"grid_draw_native_ad_code_id": "953112022",
"video_card_ad_code_id": "953112021",
"video_card_draw_ad_code_id": "953112023",
"video_card_draw_native_ad_code_id": "953112034",
"interstitial_ad_code_id": "",
"interstitial_note_ad_code_id": "952978124",
"staggered_grid_ad_code_id": "952978127",
"staggered_grid_draw_ad_code_id": "952978111",
"staggered_grid_draw_native_ad_code_id": "952978126",
"draw_interstitial_ad_code_id": "952978116",
"draw_fullscreen_interstitial_ad_code_id": "952978117",
"draw_banner_code_id": "952978112",
"drama_rewarded_ad_code_id": "952978114",
"drama_rewarded_ad_code_id_02": "952978125",
"drama_draw_ad_code_id": "952978115"
"interstitial_note_ad_code_id": "953112029",
"staggered_grid_ad_code_id": "953112017",
"staggered_grid_draw_ad_code_id": "953112033",
"staggered_grid_draw_native_ad_code_id": "953112025",
"draw_interstitial_ad_code_id": "953112027",
"draw_fullscreen_interstitial_ad_code_id": "953112020",
"draw_banner_code_id": "953112015",
"drama_rewarded_ad_code_id": "953112024",
"drama_rewarded_ad_code_id_02": "953112030",
"drama_draw_ad_code_id": "953112018"
},
"novel": {
"status": 0,
......
......@@ -53,10 +53,10 @@ public class MintsApplication extends MultiDexApplication {
super.onCreate();
mContext = this.getApplicationContext();
// // 友盟SDK预初始化函数
// // preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
// UmengManager.INSTANCE.preInit(this,
// MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager.INSTANCE.preInit(this,
MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
// 三方配置
thirdConfig();
......@@ -76,11 +76,6 @@ public class MintsApplication extends MultiDexApplication {
if (AppPreferencesManager.INSTANCE.get()
.getBoolean(Constant.LOAN_PERMISSION_FLAG, true)) return;
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager.INSTANCE.preInit(this,
MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
initMiitHelper();
TTAdManagerHolder.init(this);
......
......@@ -18,7 +18,7 @@ object DPHolderManager {
//1. 初始化,最好放到application.onCreate()执行
val configBuilder = DPSdkConfig.Builder().debug(true)
DPSdk.init(context, "SDK_Setting_5412556.json", configBuilder.build())
DPSdk.init(context, "SDK_Setting_5418501.json", configBuilder.build())
startDpSdk()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment