Commit 898f66ad authored by zhangshuai's avatar zhangshuai

优化 开屏广告速度

parent ccd30775
......@@ -749,6 +749,9 @@ NSDictionary* appLaunchOpts;
[[[self ufw] appController].window makeKeyAndVisible];
[[CGUserManager shared] addLocCollection:@"tab_imp" value:@"1"];
});
}];
if ([[data Read] objectForKey:@"isFirstInstall"]) {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(launchAdSuccesShow) name:LaunchAdSuccesShow object:nil];
[[IOSADManager shareADManager] showADType:ADType_OpenScreen resultBlock:^(BOOL success) {
......@@ -761,8 +764,6 @@ NSDictionary* appLaunchOpts;
[self launchAdSuccesShow];
});
}
});
}];
return YES;
}
......
......@@ -14,8 +14,14 @@
#ifndef GYPrefixHeader_pch
#define GYPrefixHeader_pch
//测试
//#define ServerReport @"http://reporttest.zhangxinhulian.com"
//#define ServerHost @"https://feedapitest.zhangxinhulian.com" // 服务端接口地址
//#define ServerAds @"http://bstest.zhangxinhulian.com/v4/ads"
//正式
#define ServerReport @"http://report.clouddistribute.net"
#define ServerHost @"https://feedapi.clouddistribute.net" // 服务端接口地址
#define ServerAds @"http://bs.clouddistribute.net/v4/ads"
......
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