Commit 6df54f9b by ludi

Merge branch 'feature/私讯+座驾体系' of http://git.yabolive.net:88/pidan/FuSiLive into feature/私讯+座驾体系

parents ffb18dcd 90882427
...@@ -97,16 +97,19 @@ ...@@ -97,16 +97,19 @@
self.beautyfilterkey = config.beautyfilterkey; self.beautyfilterkey = config.beautyfilterkey;
} }
if ([NSString isNullWithString:config.bdurl]) { if ([NSString isNullWithString:config.bdurl]) {
self.bdurl = config.bdurl; self.bdurl = config.bdurl;
} }
if ([NSString isNullWithString:config.bdurlmd5]) {
if ([NSString isNullWithString:config.bdurlmd5]) {
self.bdurlmd5 = config.bdurlmd5; self.bdurlmd5 = config.bdurlmd5;
} }
if ([NSString isNullWithString:config.licbag]) {
if ([NSString isNullWithString:config.licbag]) {
self.licbag = config.licbag; self.licbag = config.licbag;
} }
if ([NSString isNullWithString:config.licbagmd5]) {
if ([NSString isNullWithString:config.licbagmd5]) {
self.licbagmd5 = config.licbagmd5; self.licbagmd5 = config.licbagmd5;
} }
} }
......
...@@ -336,6 +336,8 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7"; ...@@ -336,6 +336,8 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7";
} }
- (void)GeTuiSdkDidReceiveNotification:(NSDictionary *)userInfo notificationCenter:(UNUserNotificationCenter *)center response:(UNNotificationResponse *)response fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler { - (void)GeTuiSdkDidReceiveNotification:(NSDictionary *)userInfo notificationCenter:(UNUserNotificationCenter *)center response:(UNNotificationResponse *)response fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
[self handleNotificationEventWithContent:response.notification.request.content.userInfo];
if (completionHandler) completionHandler(UIBackgroundFetchResultNoData); if (completionHandler) completionHandler(UIBackgroundFetchResultNoData);
} }
......
...@@ -201,8 +201,15 @@ ...@@ -201,8 +201,15 @@
if ([FUSFileHelper fus_isExistFileAtPath:bytedanceResource]) { if ([FUSFileHelper fus_isExistFileAtPath:bytedanceResource]) {
[[NSFileManager defaultManager] removeItemAtPath:bytedanceResource error:nil]; [[NSFileManager defaultManager] removeItemAtPath:bytedanceResource error:nil];
} }
[FUSResourceDownloader.shareInstance fus_removeTaskKeyWithDownloadUrl:FUSLiveHelper.shareInstance.livePushConfig.bdurl md5:FUSLiveHelper.shareInstance.livePushConfig.bdurlmd5];
[FUSResourceDownloader.shareInstance fus_removeTaskKeyWithDownloadUrl:FUSLiveHelper.shareInstance.livePushConfig.licbag md5:FUSLiveHelper.shareInstance.livePushConfig.licbagmd5]; NSString *bdurl = FUSLiveHelper.shareInstance.livePushConfig.bdurl;
NSString *bdurlmd5 = FUSLiveHelper.shareInstance.livePushConfig.bdurlmd5;
[FUSResourceDownloader.shareInstance fus_removeTaskKeyWithDownloadUrl:bdurl md5:bdurlmd5];
NSString *licbag = FUSLiveHelper.shareInstance.livePushConfig.licbag;
NSString *licbagmd5 = FUSLiveHelper.shareInstance.livePushConfig.licbagmd5;
[FUSResourceDownloader.shareInstance fus_removeTaskKeyWithDownloadUrl:licbag md5:licbagmd5];
FUSDownloadResourceModel *downloadModel = [[FUSDownloadResourceModel alloc] init]; FUSDownloadResourceModel *downloadModel = [[FUSDownloadResourceModel alloc] init];
downloadModel.resourceUrl = FUSLiveHelper.shareInstance.livePushConfig.bdurl; downloadModel.resourceUrl = FUSLiveHelper.shareInstance.livePushConfig.bdurl;
......
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 sign in to comment