Commit 30c8b82d by ludi

完成网页打开app跳转的适配,完成加入直播间欢迎语的适配

parent 5b83134d
Showing with 368 additions and 53 deletions
...@@ -48,6 +48,7 @@ Pod::Spec.new do |s| ...@@ -48,6 +48,7 @@ Pod::Spec.new do |s|
s.dependency 'RxCocoa' s.dependency 'RxCocoa'
s.dependency 'RxSwift' s.dependency 'RxSwift'
s.dependency 'RxDataSources' s.dependency 'RxDataSources'
s.dependency 'SwiftyJSON', '~> 4.0'
s.prefix_header_contents = ['#import <FUSFoundation/FUSFoundation.h>', '#import <Bifrost/BifrostHeader.h>', '#import "FUSCommonBundle.h"', '#import "FUSCommonURLs.h"'] s.prefix_header_contents = ['#import <FUSFoundation/FUSFoundation.h>', '#import <Bifrost/BifrostHeader.h>', '#import "FUSCommonBundle.h"', '#import "FUSCommonURLs.h"']
......
...@@ -64,4 +64,23 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -64,4 +64,23 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
/// 获取平台开关限制
@interface FUSSwitchStintConfigModel : FUSBaseModel
/// 动态发送评论回复等级(-1:不限制)
@property (nonatomic, assign) NSInteger dynamicCommentLevelStint;
/// 发布动态按钮显示开关(0:不显示、1:显示)
@property (nonatomic, assign) BOOL dynamicSendShowSwitch;
/// 热门/最新/聊天;动态显示控制开关(0:不显示、1:显示)
@property (nonatomic, assign) BOOL dynamicEntranceShowSwitch;
/// 首页动态+号自动加载控制开关(0:不自动、1:自动)
@property (nonatomic, assign) BOOL dynamicAutoLoadingSwitch;
/// 连麦头像放大动效开关(0:不展示、1:展示)
@property (nonatomic, assign) BOOL micTakeFaceEffectSwitch;
/// 首页私房模块显示开关(0:不展示、1:展示)
@property (nonatomic, assign) BOOL oneToOneHomeShowSwitch;
@end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -17,3 +17,10 @@ ...@@ -17,3 +17,10 @@
} }
@end @end
@implementation FUSSwitchStintConfigModel
@end
//
// FUSHandleEventHelper.swift
// FUSCommon
//
// Created by aaa on 2025/6/27.
//
import UIKit
import RxSwift
import SwiftyJSON
@objcMembers public class FUSHandleEventHelper: FUSBaseModel {
enum FUSOutsideJumpAPPType: Int {
case PushLive = 0
case EnterRoom = 1
case EnterZone = 2
case Web = 3
case FansClub = 4
case Dynamic = 5
}
@objc static public let shared = FUSHandleEventHelper()
private let disposeBag = DisposeBag()
private var urlScheduleDisposeBag = DisposeBag()
private var calendarOpenReuseDisposeBag = DisposeBag()
@objc public func fus_oc_fus_handlerUrlOpenAppAction(url: NSURL) {
let swiftURL = url as URL
self.fus_handlerUrlOpenAppAction(url: swiftURL)
}
func fus_handlerUrlOpenAppAction(url:URL) {
if url.absoluteString.contains(String.calendar_openSchedule) {
if let components = URLComponents(url: url, resolvingAgainstBaseURL: false){
// 提取查询参数
if let queryItems = components.queryItems {
for queryItem in queryItems {
// 日历返回打开部分
if queryItem.name == String.calendar_openSchedule,
let queryItemValue = queryItem.value,
let jsonData = Data(base64Encoded: queryItemValue){
let dataJson = JSON(jsonData)
let type = dataJson["type"].intValue
// 上报由网页打开
let behaviorLog = dataJson["behaviorLog"]
let reqType = behaviorLog["reqType"].intValue
if reqType != 0 {
FUSDataStatisticsManager.fus_behaviorExternalCallLog(withReqType: reqType, reqEventType: -1, reqJson: behaviorLog.rawString(options: .sortedKeys) ?? "")
}
if type == 0 {
calendarOpenReuseDisposeBag = DisposeBag()
Observable<Int>.just(1).delay(.seconds(2), scheduler: MainScheduler.instance).subscribe(onNext: {_ in
FUSRouter.live().fus_pushLive()
}).disposed(by: calendarOpenReuseDisposeBag)
}else if type == 1 {
Observable.combineLatest(FUSSwiftCacheDataShare.share.isLogin,FUSSwiftCacheDataShare.share.switchStintConfig).delay(.seconds(1), scheduler: MainScheduler.instance).subscribe(onNext: {[weak self] isLogin, switchStintConfig in
if isLogin && switchStintConfig != nil {
let roomId = dataJson["roomId"].stringValue
FUSRouter.live().fus_enterLiveRoom(roomId)
let behaviorLog = dataJson["behaviorLog"]
let liveType = behaviorLog["liveType"].intValue
if liveType != 0 {
FUSDataStatisticsManager.fus_behaviorJoinRoomLog(withReqType: 5, reqEventType: liveType, extraInfo: "", extraJson: behaviorLog.rawString(options: .sortedKeys) ?? "", roomId: roomId)
}
self?.urlScheduleDisposeBag = DisposeBag()
}
}).disposed(by: urlScheduleDisposeBag)
}
}
}
}
}
} else if url.absoluteString.contains(String.openAppEventSchedule) {
if let components = URLComponents(url: url, resolvingAgainstBaseURL: false){
// 提取查询参数
if let queryItems = components.queryItems {
for queryItem in queryItems {
// 日历返回打开部分
if (queryItem.name == String.openAppEventSchedule),
let queryItemValue = queryItem.value,
let jsonData = Data(base64Encoded: queryItemValue) {
let dataJson = JSON(jsonData)
var data = dataJson["openData"]
if data.isEmpty {
data = dataJson
}
// 上报由网页打开
let behaviorLog = dataJson["behaviorLog"]
let reqType = behaviorLog["reqType"].intValue
if reqType != 0 {
FUSDataStatisticsManager.fus_behaviorExternalCallLog(withReqType: reqType, reqEventType: -1, reqJson: behaviorLog.rawString(options: .sortedKeys) ?? "")
}
Observable.combineLatest(FUSSwiftCacheDataShare.share.isLogin,FUSSwiftCacheDataShare.share.switchStintConfig).delay(.seconds(1), scheduler: MainScheduler.instance).subscribe(onNext: {[weak self] isLogin, switchStintConfig in
if isLogin && switchStintConfig != nil {
let type = FUSOutsideJumpAPPType(rawValue: dataJson["type"].intValue)
switch type {
case .PushLive:
FUSRouter.live().fus_pushLive()
case .EnterRoom:
let roomId = data["paramInfo"].stringValue
// Mediator.Live?.enterLiveRoom(roomId: roomId, behaviorSrc: "1")
FUSRouter.live().fus_enterLiveRoom(roomId)
let behaviorLog = dataJson["behaviorLog"]
let liveType = behaviorLog["liveType"].intValue
if liveType != 0 {
FUSDataStatisticsManager.fus_behaviorJoinRoomLog(withReqType: 5, reqEventType: liveType, extraInfo: "", extraJson: behaviorLog.rawString(options: .sortedKeys) ?? "", roomId: roomId)
}
case .EnterZone:
let uid = data["paramInfo"].stringValue
FUSRouter.userRouter().fus_enterUserZone(uid, isFromLiveRoomChat: false)
case .Web:
let webParams = data["paramInfo"].stringValue
// 这里之所以写死地址,是因为做一层防护,以防别人在我们APP内注入别的网页。所以通过写死的地址,由网页传参,网页端通过网页的传参决定要重定向到哪个地方
let url = (FUSConfig.sharedInstanced().devConfigs.devLevel == .release) ? FUSCommonWebURLs.fus_scheduleOpenUrlMiddlewareUrl() : FUSCommonWebURLs.fus_scheduleOpenUrlMiddlewareTestUrl()
let webVc = FUSWKWebViewController()
webVc.webUrlString = url + webParams
UIViewController.fus_top()?.navigationController?.pushViewController(webVc, animated: true)
case .FansClub:
// fusi 没有粉丝团
// let groupId = dataJson["data"].stringValue
// Mediator.PersonalPage?.showFansGroupHomeViewController(groupId: groupId)
break
case .Dynamic:
let topicId = dataJson["topicId"].stringValue
FUSRouter.userRouter().fus_showNewsFeedDetailVC(topicId)
case .none:
break
}
self?.urlScheduleDisposeBag = DisposeBag()
}
}).disposed(by: urlScheduleDisposeBag)
}
}
}
}
}
}
}
extension String {
/// 日历打开app的参数
static var calendar_openSchedule = "calendarSchedule"
/// 外链跳转到APP网页
static var openAppEventSchedule = "openAppEventSchedule"
}
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
return; return;
} }
[FUSRouter.liveRouter fus_enterLiveRoomWithModel:roomModel]; [FUSRouter.liveRouter fus_enterLiveRoomWithModel:roomModel behaviorSrc:@""];
break; break;
} }
case 2: { case 2: {
......
...@@ -128,7 +128,17 @@ NSString * const kEVENT_RECHARGE_FIRST_RECHARGE_WINDOW_RECEIVE_OFFICIAL_RECAHARG ...@@ -128,7 +128,17 @@ NSString * const kEVENT_RECHARGE_FIRST_RECHARGE_WINDOW_RECEIVE_OFFICIAL_RECAHARG
NSString *uid = [strArray objectAtIndex:1]; NSString *uid = [strArray objectAtIndex:1];
[FUSRouter.userRouter fus_enterUserZone:uid isFromLiveRoomChat:NO]; NSMutableDictionary *complexParams = [[NSMutableDictionary alloc] init];
NSRange range = [urlStr rangeOfString:@"\\$(.*?)\\$" options:NSRegularExpressionSearch];
if (range.location != NSNotFound) {
NSString *matched = [urlStr substringWithRange:range];
NSString *content = [matched stringByReplacingOccurrencesOfString:@"$" withString:@""];
if (content.length > 0) {
complexParams[FUSCommonExtraKeys.fus_KEY_zoneBehaviorSrc] = content;
}
}
[FUSRouter.userRouter fus_enterUserZone:uid isFromLiveRoomChat:NO extraParm:complexParams];
} }
decisionHandler(WKNavigationActionPolicyCancel); decisionHandler(WKNavigationActionPolicyCancel);
return; return;
...@@ -144,7 +154,7 @@ NSString * const kEVENT_RECHARGE_FIRST_RECHARGE_WINDOW_RECEIVE_OFFICIAL_RECAHARG ...@@ -144,7 +154,7 @@ NSString * const kEVENT_RECHARGE_FIRST_RECHARGE_WINDOW_RECEIVE_OFFICIAL_RECAHARG
[FUSTalkingData fus_trackEvent:FUSLiveEventTrackParams.fus_EVENT_ROOM_ENTER_SOURCE label:@"" parameters:@{@"source":@"h5", [FUSTalkingData fus_trackEvent:FUSLiveEventTrackParams.fus_EVENT_ROOM_ENTER_SOURCE label:@"" parameters:@{@"source":@"h5",
@"room_id":model.roomId @"room_id":model.roomId
}]; }];
[FUSRouter.liveRouter fus_enterLiveRoom:model.roomId]; [FUSRouter.liveRouter fus_enterLiveRoom:model.roomId behaviorSrc:@""];
} }
decisionHandler(WKNavigationActionPolicyCancel); decisionHandler(WKNavigationActionPolicyCancel);
return; return;
......
...@@ -71,6 +71,11 @@ import RxSwift ...@@ -71,6 +71,11 @@ import RxSwift
@objc public var oc_backpackAllUnreadBadgeShow: Bool { @objc public var oc_backpackAllUnreadBadgeShow: Bool {
get{ FUSSwiftCacheDataShare.share.backpackAllUnreadBadgeShow.value } get{ FUSSwiftCacheDataShare.share.backpackAllUnreadBadgeShow.value }
} }
/// OC 获取平台开关限制
@objc public var oc_switchStintConfig: FUSSwitchStintConfigModel? {
get { FUSSwiftCacheDataShare.share.switchStintConfig.value }
set { FUSSwiftCacheDataShare.share.switchStintConfig.accept(newValue) }
}
// - swift PART // - swift PART
/// 当前是否登录 /// 当前是否登录
...@@ -136,6 +141,8 @@ import RxSwift ...@@ -136,6 +141,8 @@ import RxSwift
public var oc_settingDataTemplateGetList: [String : Any] { FUSSwiftCacheDataShare.share.settingDataTemplateGetList.value } public var oc_settingDataTemplateGetList: [String : Any] { FUSSwiftCacheDataShare.share.settingDataTemplateGetList.value }
/// 平台模版基础数据配置 /// 平台模版基础数据配置
public var settingDataTemplateGetList: BehaviorRelay<[String : Any]> = .init(value: .init()) public var settingDataTemplateGetList: BehaviorRelay<[String : Any]> = .init(value: .init())
/// 获取平台开关限制
public var switchStintConfig: BehaviorRelay<FUSSwitchStintConfigModel?> = .init(value: nil)
// - common part // - common part
......
...@@ -72,6 +72,12 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -72,6 +72,12 @@ NS_ASSUME_NONNULL_BEGIN
/// 我的族人地址 /// 我的族人地址
+(NSString *)fus_inviteMyClansmanUrl; +(NSString *)fus_inviteMyClansmanUrl;
/// 正式服外链跳转中转页面
+(NSString *)fus_scheduleOpenUrlMiddlewareUrl;
/// 测试服外链跳转中转页面
+(NSString *)fus_scheduleOpenUrlMiddlewareTestUrl;
@end @end
@interface FUSCommonURLs : NSObject @interface FUSCommonURLs : NSObject
...@@ -213,4 +219,11 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -213,4 +219,11 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
@interface FUSCommonExtraKeys: NSObject
/// 传到空间的BehaviorSrc
+(NSString *)fus_KEY_zoneBehaviorSrc;
@end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -104,6 +104,16 @@ ...@@ -104,6 +104,16 @@
return [FUSConfig.sharedInstanced.pathConfigs webUrl:@"/vestApp/newShare/inviteNum.html"]; return [FUSConfig.sharedInstanced.pathConfigs webUrl:@"/vestApp/newShare/inviteNum.html"];
} }
/// 正式服外链跳转中转页面
+(NSString *)fus_scheduleOpenUrlMiddlewareUrl{
return @"https://events.yabolive.net/vestApp/middleware/index.html";
}
/// 测试服外链跳转中转页面
+(NSString *)fus_scheduleOpenUrlMiddlewareTestUrl{
return @"https://ceshi.yabolive.tv/vestApp/middleware/index.html";
}
@end @end
@implementation FUSCommonURLs @implementation FUSCommonURLs
...@@ -332,3 +342,12 @@ ...@@ -332,3 +342,12 @@
} }
@end @end
@implementation FUSCommonExtraKeys
/// 传到空间的BehaviorSrc
+ (NSString *)fus_KEY_zoneBehaviorSrc{
return @"fus_common_KEY_zoneBehaviorSrc";
}
@end
...@@ -58,7 +58,9 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -58,7 +58,9 @@ NS_ASSUME_NONNULL_BEGIN
#pragma mark - Public Methods #pragma mark - Public Methods
- (void)fus_enterLiveRoom:(NSString *)roomId; - (void)fus_enterLiveRoom:(NSString *)roomId;
- (void)fus_enterLiveRoom:(NSString *)roomId behaviorSrc:(NSString *)behaviorSrc;
- (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)model; - (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)model;
- (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)model behaviorSrc:(NSString *)behaviorSrc;
/** /**
结束观看直播 结束观看直播
*/ */
......
...@@ -39,6 +39,13 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -39,6 +39,13 @@ NS_ASSUME_NONNULL_BEGIN
- (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat; - (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat;
/// 带有额外传参的进入空间
/// - Parameters:
/// - userId: 用户id
/// - isFromLiveRoomChat: 是否来自直播间
/// - extraParm: 额外参数,key参考FUSCommonExtraKeys类
- (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat extraParm:(NSDictionary *)extraParm;
- (void)fus_enterMotorWareVC; - (void)fus_enterMotorWareVC;
/// 进入任务中心 /// 进入任务中心
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<key>NotificationService.xcscheme_^#shared#^_</key> <key>NotificationService.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>82</integer> <integer>86</integer>
</dict> </dict>
</dict> </dict>
</dict> </dict>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#import <FirebaseAnalytics/FirebaseAnalytics.h> #import <FirebaseAnalytics/FirebaseAnalytics.h>
#import <FUSCommon/FUSCommonURLs.h> #import <FUSCommon/FUSCommonURLs.h>
#import <FUSFoundation/FUSFoundation.h> #import <FUSFoundation/FUSFoundation.h>
#import <FUSCommon/FUSCommon-Swift.h>
static NSString *const kGtAppId = @"2ecfODySFs8GlqYu7H2hW9"; static NSString *const kGtAppId = @"2ecfODySFs8GlqYu7H2hW9";
static NSString *const kGtAppKey = @"tjOur8OKTU7srFHoA0lB91"; static NSString *const kGtAppKey = @"tjOur8OKTU7srFHoA0lB91";
...@@ -127,6 +128,15 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7"; ...@@ -127,6 +128,15 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7";
return YES; return YES;
} }
NSString *sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey];
if ([sourceApplication isEqualToString:@"com.apple.AppStore"]) {
// 应用是从 App Store 通过 URL Scheme 打开的
[FUSDataStatisticsManager fus_behaviorExternalCallLogWithReqType:4 reqEventType:1 reqJson:@""];
}
// 网页跳转
[[FUSHandleEventHelper shared] fus_oc_fus_handlerUrlOpenAppActionWithUrl:url];
return YES; return YES;
} }
...@@ -161,6 +171,12 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7"; ...@@ -161,6 +171,12 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7";
- (BOOL)application:(UIApplication *)app continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler { - (BOOL)application:(UIApplication *)app continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
//其他代码 //其他代码
if (userActivity.activityType == NSUserActivityTypeBrowsingWeb) {
NSURL *url = userActivity.webpageURL;
if (url != nil) {
[[FUSHandleEventHelper shared] fus_oc_fus_handlerUrlOpenAppActionWithUrl:url];
}
}
return YES; return YES;
} }
...@@ -259,6 +275,7 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7"; ...@@ -259,6 +275,7 @@ static NSString *const kGtAppSecret = @"OSSSWqbWY0ACJiUv4AHdW7";
if (jsonError == nil) { if (jsonError == nil) {
jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
} }
[FUSDataStatisticsManager fus_behaviorExternalCallLogWithReqType:5 reqEventType:-1 reqJson:jsonString];
[self startJumpIntoPage:transmissionContent logExtraJson:jsonString]; [self startJumpIntoPage:transmissionContent logExtraJson:jsonString];
} }
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
<key>FUSChatCenterBundle.xcscheme_^#shared#^_</key> <key>FUSChatCenterBundle.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>84</integer> <integer>89</integer>
</dict> </dict>
<key>FUSChatCenterModule.xcscheme_^#shared#^_</key> <key>FUSChatCenterModule.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>87</integer> <integer>88</integer>
</dict> </dict>
</dict> </dict>
</dict> </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<key>FUSShowRoomBundle.xcscheme_^#shared#^_</key> <key>FUSShowRoomBundle.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>83</integer> <integer>84</integer>
</dict> </dict>
<key>FUSShowRoomModule.xcscheme_^#shared#^_</key> <key>FUSShowRoomModule.xcscheme_^#shared#^_</key>
<dict> <dict>
......
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
[FUSLiveHelper shareInstance].rooms = self.viewModel.onlyLiveRoomList; [FUSLiveHelper shareInstance].rooms = self.viewModel.onlyLiveRoomList;
} }
[FUSLiveHelper fus_playLiveWithRoomInfoModel:model success:nil failure:nil]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:model behaviorSrc:@"" success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:1 reqEventType:-1 extraInfo:@"" extraJson:@"" roomId:anchor.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:1 reqEventType:-1 extraInfo:@"" extraJson:@"" roomId:anchor.roomId];
} }
} }
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
if (roomModel.roomId.intValue == 0) { if (roomModel.roomId.intValue == 0) {
return; return;
} }
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:nil failure:nil]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
} else if (self.model.clickType == 2) { } else if (self.model.clickType == 2) {
// 跳转到空间 // 跳转到空间
......
...@@ -181,7 +181,7 @@ typedef NS_ENUM(NSUInteger,JumpType) { ...@@ -181,7 +181,7 @@ typedef NS_ENUM(NSUInteger,JumpType) {
if (roomModel.roomId.integerValue == [FUSCacheDataShare shareStore].userDetailInfo.uid.integerValue) { if (roomModel.roomId.integerValue == [FUSCacheDataShare shareStore].userDetailInfo.uid.integerValue) {
[FUSLiveHelper fus_pushLive]; [FUSLiveHelper fus_pushLive];
} else { } else {
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:nil failure:nil]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
} }
// Firebase 统计 // Firebase 统计
......
...@@ -691,7 +691,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) { ...@@ -691,7 +691,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) {
[self.liveFunctionView.chatTableView fus_addEnterRoomSystemTipMessage]; [self.liveFunctionView.chatTableView fus_addEnterRoomSystemTipMessage];
[FUSLiveHttpHelper fus_enterRoomWithRoomId:[FUSLiveHelper shareInstance].roomInfoModel.roomId vdoid:[FUSLiveHelper shareInstance].streamModel.vdoid password:@"" success:^(FUSRoomInfoModel *roomInfoModel,BOOL micMode, NSString *streamUrl, NSString *pkInfo) { [FUSLiveHttpHelper fus_enterRoomWithRoomId:[FUSLiveHelper shareInstance].roomInfoModel.roomId vdoid:[FUSLiveHelper shareInstance].streamModel.vdoid behaviorSrc:@"" password:@"" success:^(FUSRoomInfoModel *roomInfoModel,BOOL micMode, NSString *streamUrl, NSString *pkInfo) {
if (![roomInfoModel.roomId isEqualToString:[FUSLiveHelper shareInstance].roomInfoModel.roomId]) { if (![roomInfoModel.roomId isEqualToString:[FUSLiveHelper shareInstance].roomInfoModel.roomId]) {
FUSLogInfo(@"不是当前包房"); FUSLogInfo(@"不是当前包房");
...@@ -2119,7 +2119,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) { ...@@ -2119,7 +2119,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) {
if (_scrollView.offsetY == 0) { if (_scrollView.offsetY == 0) {
_scrollView.offsetY = UIView.fus_screenH; _scrollView.offsetY = UIView.fus_screenH;
FUSRoomInfoModel *model = [FUSLiveHelper preRoomInfoModel]; FUSRoomInfoModel *model = [FUSLiveHelper preRoomInfoModel];
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:model success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:model behaviorSrc:@"" success:nil failure:nil];
[self fus_setupScrollEnable:NO]; [self fus_setupScrollEnable:NO];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self fus_setupScrollEnable:YES]; [self fus_setupScrollEnable:YES];
...@@ -2129,7 +2129,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) { ...@@ -2129,7 +2129,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) {
if (_scrollView.offsetY == (UIView.fus_screenH * 2)) { if (_scrollView.offsetY == (UIView.fus_screenH * 2)) {
_scrollView.offsetY = UIView.fus_screenH; _scrollView.offsetY = UIView.fus_screenH;
FUSRoomInfoModel *model = [FUSLiveHelper nextRoomInfoModel]; FUSRoomInfoModel *model = [FUSLiveHelper nextRoomInfoModel];
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:model success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:model behaviorSrc:@"" success:nil failure:nil];
[self fus_setupScrollEnable:NO]; [self fus_setupScrollEnable:NO];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self fus_setupScrollEnable:YES]; [self fus_setupScrollEnable:YES];
......
...@@ -252,6 +252,7 @@ typedef NS_ENUM(NSInteger,FUSLiveRoomScopeType) { ...@@ -252,6 +252,7 @@ typedef NS_ENUM(NSInteger,FUSLiveRoomScopeType) {
@param roomInfoModel 包房信息model @param roomInfoModel 包房信息model
*/ */
+ (void)fus_playLiveWithRoomInfoModel:(FUSRoomInfoModel *_Nullable)roomInfoModel + (void)fus_playLiveWithRoomInfoModel:(FUSRoomInfoModel *_Nullable)roomInfoModel
behaviorSrc:(NSString * _Nullable )behaviorSrc
success:(void(^_Nullable)(void))success success:(void(^_Nullable)(void))success
failure:(void(^_Nullable)(void))failure; failure:(void(^_Nullable)(void))failure;
...@@ -275,6 +276,7 @@ typedef NS_ENUM(NSInteger,FUSLiveRoomScopeType) { ...@@ -275,6 +276,7 @@ typedef NS_ENUM(NSInteger,FUSLiveRoomScopeType) {
@param roomInfoModel 包房信息model @param roomInfoModel 包房信息model
*/ */
- (void)fus_switchRoomWithRoomInfoModel:(nonnull FUSRoomInfoModel *)roomInfoModel - (void)fus_switchRoomWithRoomInfoModel:(nonnull FUSRoomInfoModel *)roomInfoModel
behaviorSrc:(NSString * _Nullable )behaviorSrc
success:(void(^_Nullable)(void))success success:(void(^_Nullable)(void))success
failure:(void(^_Nullable)(void))failure; failure:(void(^_Nullable)(void))failure;
......
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
roomModel.roomType = @"2"; roomModel.roomType = @"2";
roomModel.roomId = [FUSCacheDataShare shareStore].userDetailInfo.uid; roomModel.roomId = [FUSCacheDataShare shareStore].userDetailInfo.uid;
roomModel.faceimg = roomModel.face = [FUSCacheDataShare shareStore].userDetailInfo.face; roomModel.faceimg = roomModel.face = [FUSCacheDataShare shareStore].userDetailInfo.face;
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:^{ [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:@"" success:^{
FUSLogDebug(@""); FUSLogDebug(@"");
} failure:^{ } failure:^{
FUSLogDebug(@""); FUSLogDebug(@"");
...@@ -695,7 +695,7 @@ ...@@ -695,7 +695,7 @@
@param roomInfoModel 包房信息model @param roomInfoModel 包房信息model
*/ */
+ (void)fus_playLiveWithRoomInfoModel:(FUSRoomInfoModel *)roomInfoModel success:(void (^)(void))success failure:(void (^)(void))failure { + (void)fus_playLiveWithRoomInfoModel:(FUSRoomInfoModel *)roomInfoModel behaviorSrc:(NSString *)behaviorSrc success:(void (^)(void))success failure:(void (^)(void))failure {
if ([NSString isNull:roomInfoModel.roomId]) { if ([NSString isNull:roomInfoModel.roomId]) {
return; return;
...@@ -707,7 +707,7 @@ ...@@ -707,7 +707,7 @@
[[FUSLiveHelper shareInstance] fus_insertModel:roomInfoModel]; [[FUSLiveHelper shareInstance] fus_insertModel:roomInfoModel];
} }
if ([[[FUSLiveHelper shareInstance] roomInfoModel] roomId] != roomInfoModel.roomId) { if ([[[FUSLiveHelper shareInstance] roomInfoModel] roomId] != roomInfoModel.roomId) {
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomInfoModel success:success failure:failure]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomInfoModel behaviorSrc:behaviorSrc success:success failure:failure];
} else { } else {
if ([UIViewController fus_topViewController] != [[FUSLiveHelper shareInstance] fus_getTargetViewController]) { if ([UIViewController fus_topViewController] != [[FUSLiveHelper shareInstance] fus_getTargetViewController]) {
[[UIViewController fus_topViewController].navigationController popToRootViewControllerAnimated:YES]; [[UIViewController fus_topViewController].navigationController popToRootViewControllerAnimated:YES];
...@@ -726,7 +726,7 @@ ...@@ -726,7 +726,7 @@
} else if ([FUSLiveHelper shareInstance].liveVC) { } else if ([FUSLiveHelper shareInstance].liveVC) {
[FUSLoadingView fus_showProgressViewWithMessage:@""]; [FUSLoadingView fus_showProgressViewWithMessage:@""];
[[FUSLiveHelper shareInstance].currentFunctionView fus_exitKeepLinkMicRoom:^(BOOL succeed) { [[FUSLiveHelper shareInstance].currentFunctionView fus_exitKeepLinkMicRoom:^(BOOL succeed) {
[self fus_playLiveWithRoomInfoModel:roomInfoModel success:success failure:failure]; [self fus_playLiveWithRoomInfoModel:roomInfoModel behaviorSrc:behaviorSrc success:success failure:failure];
[FUSLoadingView fus_dismissProgressView]; [FUSLoadingView fus_dismissProgressView];
}]; }];
return; return;
...@@ -751,7 +751,7 @@ ...@@ -751,7 +751,7 @@
if (buttonIndex == 1) { if (buttonIndex == 1) {
[FUSRouter.chatRouter fus_initiativeHandUpConversation]; [FUSRouter.chatRouter fus_initiativeHandUpConversation];
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomInfoModel success:success failure:failure]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomInfoModel behaviorSrc:behaviorSrc success:success failure:failure];
} }
}]; }];
return; return;
...@@ -803,12 +803,12 @@ ...@@ -803,12 +803,12 @@
[[[FUSLiveHelper shareInstance] liveVC] initLiveFunctionView]; [[[FUSLiveHelper shareInstance] liveVC] initLiveFunctionView];
[self fus_showLiveMainVCAnimation:YES Completion:^{ [self fus_showLiveMainVCAnimation:YES Completion:^{
[[[FUSLiveHelper shareInstance] liveVC] fus_showLiveLoadingViewWithType:liveLoadingEntering]; [[[FUSLiveHelper shareInstance] liveVC] fus_showLiveLoadingViewWithType:liveLoadingEntering];
[[FUSLiveHelper shareInstance] fus_audienceJoinRoomWithStreamUrl:roomInfoModel.publishUrl roomId:roomInfoModel.roomId]; [[FUSLiveHelper shareInstance] fus_audienceJoinRoomWithStreamUrl:roomInfoModel.publishUrl roomId:roomInfoModel.roomId behaviorSrc:behaviorSrc];
}]; }];
} }
// 进入包房错误消息处理 // 进入包房错误消息处理
- (void)joinRoomFailuerWithErrorDict:(NSDictionary *)errorDict code:(int)code msg:(NSString *)msg currentRoomId:(NSString *)currentRoomId password:(NSString *)password { - (void)joinRoomFailuerWithErrorDict:(NSDictionary *)errorDict code:(int)code msg:(NSString *)msg currentRoomId:(NSString *)currentRoomId password:(NSString *)password behaviorSrc:(NSString *)behaviorSrc{
[[[FUSLiveHelper shareInstance] liveVC] fus_showLiveLoadingViewWithType:liveLoadingDismiss]; [[[FUSLiveHelper shareInstance] liveVC] fus_showLiveLoadingViewWithType:liveLoadingDismiss];
[[[FUSLiveHelper shareInstance]liveVC] fus_stopPlay]; [[[FUSLiveHelper shareInstance]liveVC] fus_stopPlay];
...@@ -869,7 +869,7 @@ ...@@ -869,7 +869,7 @@
[FUSAlertView showAlertWithTitle:nil message:msg cancelButtonTitle:nil otherButtonTitles:@[[NSString fus_localString:@"确定"], [NSString fus_localString:@"退出"]] clickBlock:^(NSInteger buttonIndex) { [FUSAlertView showAlertWithTitle:nil message:msg cancelButtonTitle:nil otherButtonTitles:@[[NSString fus_localString:@"确定"], [NSString fus_localString:@"退出"]] clickBlock:^(NSInteger buttonIndex) {
if (buttonIndex == 0) { if (buttonIndex == 0) {
[self fus_audienceJoinRoomWithRoomId:currentRoomId password:password]; [self fus_audienceJoinRoomWithRoomId:currentRoomId password:password behaviorSrc:behaviorSrc];
}else{ }else{
[FUSLiveHelper fus_quitLiveWithCompletion:nil]; [FUSLiveHelper fus_quitLiveWithCompletion:nil];
} }
...@@ -1100,7 +1100,7 @@ ...@@ -1100,7 +1100,7 @@
切换包房 切换包房
*/ */
- (void)fus_switchRoomWithRoomInfoModel:(FUSRoomInfoModel *)model success:(void (^ _Nullable)(void))success failure:(void (^ _Nullable)(void))failure{ - (void)fus_switchRoomWithRoomInfoModel:(FUSRoomInfoModel *)model behaviorSrc:(NSString * _Nullable )behaviorSrc success:(void (^ _Nullable)(void))success failure:(void (^ _Nullable)(void))failure{
self.hiddenBackgroundImage = NO; self.hiddenBackgroundImage = NO;
// 空值校验 // 空值校验
...@@ -1150,7 +1150,7 @@ ...@@ -1150,7 +1150,7 @@
} }
// 用户加入新直播间 // 用户加入新直播间
[self fus_audienceJoinRoomWithStreamUrl:model.publishUrl roomId:model.roomId]; [self fus_audienceJoinRoomWithStreamUrl:model.publishUrl roomId:model.roomId behaviorSrc:behaviorSrc];
if ([FUSLiveHelper shareInstance].liveMinimizeView) { if ([FUSLiveHelper shareInstance].liveMinimizeView) {
[[FUSLiveHelper shareInstance].currentFunctionView fus_maximizeRoom]; [[FUSLiveHelper shareInstance].currentFunctionView fus_maximizeRoom];
...@@ -1206,7 +1206,7 @@ ...@@ -1206,7 +1206,7 @@
2. 调用 JoinRoom 接口 2. 调用 JoinRoom 接口
*/ */
- (void)fus_audienceJoinRoomWithStreamUrl:(NSString *)originalStreamUrl roomId:(NSString *)currentRoomId - (void)fus_audienceJoinRoomWithStreamUrl:(NSString *)originalStreamUrl roomId:(NSString *)currentRoomId behaviorSrc:(NSString *)behaviorSrc
{ {
__weak typeof(self) weakSelf = self; __weak typeof(self) weakSelf = self;
[FUSLiveHttpHelper fus_enterRoomGetPredataWithRoomId:currentRoomId success:^(NSDictionary *dataDict) { [FUSLiveHttpHelper fus_enterRoomGetPredataWithRoomId:currentRoomId success:^(NSDictionary *dataDict) {
...@@ -1252,7 +1252,7 @@ ...@@ -1252,7 +1252,7 @@
self.roomInfoModel.reminderKeys = reminderKey; self.roomInfoModel.reminderKeys = reminderKey;
[self.currentFunctionView.chatTableView fus_addEnterRoomSystemTipMessage]; [self.currentFunctionView.chatTableView fus_addEnterRoomSystemTipMessage];
[self fus_audienceJoinRoomWithRoomId:currentRoomId password:password]; [self fus_audienceJoinRoomWithRoomId:currentRoomId password:password behaviorSrc:behaviorSrc];
} }
}]; }];
...@@ -1262,7 +1262,7 @@ ...@@ -1262,7 +1262,7 @@
self.roomInfoModel.reminderKeys = reminderKey; self.roomInfoModel.reminderKeys = reminderKey;
[self.currentFunctionView.chatTableView fus_addEnterRoomSystemTipMessage]; [self.currentFunctionView.chatTableView fus_addEnterRoomSystemTipMessage];
[self fus_audienceJoinRoomWithRoomId:currentRoomId password:@""]; [self fus_audienceJoinRoomWithRoomId:currentRoomId password:@"" behaviorSrc:behaviorSrc];
} }
...@@ -1273,7 +1273,7 @@ ...@@ -1273,7 +1273,7 @@
return; return;
} }
[weakSelf joinRoomFailuerWithErrorDict:errorDict code:code msg:msg currentRoomId:currentRoomId password:@""]; [weakSelf joinRoomFailuerWithErrorDict:errorDict code:code msg:msg currentRoomId:currentRoomId password:@"" behaviorSrc:behaviorSrc];
}]; }];
} }
...@@ -1283,11 +1283,11 @@ ...@@ -1283,11 +1283,11 @@
2. 调用 JoinRoom 接口 2. 调用 JoinRoom 接口
*/ */
- (void)fus_audienceJoinRoomWithRoomId:(NSString *)currentRoomId password:(NSString *)password { - (void)fus_audienceJoinRoomWithRoomId:(NSString *)currentRoomId password:(NSString *)password behaviorSrc:(NSString *)behaviorSrc{
__weak typeof(self) weakSelf = self; __weak typeof(self) weakSelf = self;
[FUSLiveHttpHelper fus_enterRoomWithRoomId:[FUSLiveHelper shareInstance].roomInfoModel.roomId vdoid:[FUSLiveHelper shareInstance].streamModel.vdoid password:password ?: @"" success:^(FUSRoomInfoModel *roomInfoModel,BOOL micMode, NSString *streamUrl, NSString *pkInfo) { [FUSLiveHttpHelper fus_enterRoomWithRoomId:[FUSLiveHelper shareInstance].roomInfoModel.roomId vdoid:[FUSLiveHelper shareInstance].streamModel.vdoid behaviorSrc:behaviorSrc password:password ?: @"" success:^(FUSRoomInfoModel *roomInfoModel,BOOL micMode, NSString *streamUrl, NSString *pkInfo) {
if (![roomInfoModel.roomId isEqualToString:[FUSLiveHelper shareInstance].roomInfoModel.roomId]) { if (![roomInfoModel.roomId isEqualToString:[FUSLiveHelper shareInstance].roomInfoModel.roomId]) {
FUSLogInfo(@"不是当前包房"); FUSLogInfo(@"不是当前包房");
...@@ -1396,7 +1396,7 @@ ...@@ -1396,7 +1396,7 @@
FUSLogInfo(@"不是当前包房"); FUSLogInfo(@"不是当前包房");
return; return;
} }
[weakSelf joinRoomFailuerWithErrorDict:errorDict code:code msg:msg currentRoomId:currentRoomId password:password]; [weakSelf joinRoomFailuerWithErrorDict:errorDict code:code msg:msg currentRoomId:currentRoomId password:password behaviorSrc:behaviorSrc];
}]; }];
} }
...@@ -1405,7 +1405,7 @@ ...@@ -1405,7 +1405,7 @@
[FUSAlertView showAlertWithTitle:nil message:[NSString fus_localString:@"网络出错,是否重新进入包房?"] cancelButtonTitle:nil otherButtonTitles:@[[NSString fus_localString:@"确定"], [NSString fus_localString:@"退出"]] clickBlock:^(NSInteger buttonIndex) { [FUSAlertView showAlertWithTitle:nil message:[NSString fus_localString:@"网络出错,是否重新进入包房?"] cancelButtonTitle:nil otherButtonTitles:@[[NSString fus_localString:@"确定"], [NSString fus_localString:@"退出"]] clickBlock:^(NSInteger buttonIndex) {
if (buttonIndex == 0) { if (buttonIndex == 0) {
[self fus_audienceJoinRoomWithStreamUrl:self.roomInfoModel.publishUrl roomId:self.roomInfoModel.roomId]; [self fus_audienceJoinRoomWithStreamUrl:self.roomInfoModel.publishUrl roomId:self.roomInfoModel.roomId behaviorSrc:@""];
}else{ }else{
[FUSLiveHelper fus_quitLiveWithCompletion:nil]; [FUSLiveHelper fus_quitLiveWithCompletion:nil];
} }
......
...@@ -101,6 +101,7 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -101,6 +101,7 @@ NS_ASSUME_NONNULL_BEGIN
*/ */
+ (void)fus_enterRoomWithRoomId:(NSString *)roomId + (void)fus_enterRoomWithRoomId:(NSString *)roomId
vdoid:(NSString *)vdoid vdoid:(NSString *)vdoid
behaviorSrc:(NSString *)behaviorSrc
password:(NSString *)password password:(NSString *)password
success:(void(^)(FUSRoomInfoModel *roomInfoModel, BOOL micMode,NSString *streamUrl, NSString *pkInfo))success success:(void(^)(FUSRoomInfoModel *roomInfoModel, BOOL micMode,NSString *streamUrl, NSString *pkInfo))success
failure:(void(^)(NSDictionary *errorDict, NSString *msg, int code))failure; failure:(void(^)(NSDictionary *errorDict, NSString *msg, int code))failure;
......
...@@ -412,6 +412,7 @@ ...@@ -412,6 +412,7 @@
*/ */
+ (void)fus_enterRoomWithRoomId:(NSString *)roomId + (void)fus_enterRoomWithRoomId:(NSString *)roomId
vdoid:(NSString *)vdoid vdoid:(NSString *)vdoid
behaviorSrc:(NSString *)behaviorSrc
password:(NSString *)password password:(NSString *)password
success:(void(^)(FUSRoomInfoModel *roomInfoModel, BOOL micMode, NSString *streamUrl, NSString *pkInfo))success success:(void(^)(FUSRoomInfoModel *roomInfoModel, BOOL micMode, NSString *streamUrl, NSString *pkInfo))success
failure:(void(^)(NSDictionary *errorDict, NSString *msg, int code))failure failure:(void(^)(NSDictionary *errorDict, NSString *msg, int code))failure
...@@ -428,10 +429,14 @@ ...@@ -428,10 +429,14 @@
vdoid = @""; vdoid = @"";
} }
NSDictionary *params = @{@"roomid":roomId, NSMutableDictionary *params = [[NSMutableDictionary alloc] initWithDictionary:@{@"roomid":roomId,
@"vdoid":vdoid, @"vdoid":vdoid,
@"password":password @"password":password
}; }];
if (behaviorSrc != nil && behaviorSrc.length > 0) {
params[@"behaviorSrc"] = behaviorSrc;
}
[FUSHttpHelper postRequestBinaryWithUrl:FUSShowRoomURLs.fus_URL_LIVE_ENTER_ROOM params:params success:^(NSDictionary *dataDict, int code) { [FUSHttpHelper postRequestBinaryWithUrl:FUSShowRoomURLs.fus_URL_LIVE_ENTER_ROOM params:params success:^(NSDictionary *dataDict, int code) {
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
FUSRoomInfoModel *roomInfoModel = [FUSRoomInfoModel modelWithDictionary:[anchorModel fus_getDictionary]]; FUSRoomInfoModel *roomInfoModel = [FUSRoomInfoModel modelWithDictionary:[anchorModel fus_getDictionary]];
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomInfoModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomInfoModel behaviorSrc:@"" success:nil failure:nil];
} }
#pragma mark - UICollectionViewDelegateFlowLayout #pragma mark - UICollectionViewDelegateFlowLayout
......
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = self.currentModel.toUid; roomModel.roomId = self.currentModel.toUid;
roomModel.face = self.currentModel.toFace; roomModel.face = self.currentModel.toFace;
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil]; [FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId];
} }
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = self.currentModel.toUid; roomModel.roomId = self.currentModel.toUid;
roomModel.face = self.currentModel.toFace; roomModel.face = self.currentModel.toFace;
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil]; [FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId];
} }
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = self.currentModel.toUid; roomModel.roomId = self.currentModel.toUid;
roomModel.face = self.currentModel.toFace; roomModel.face = self.currentModel.toFace;
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil]; [FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:currentModel.toUid key:currentModel.keyId keySort:currentModel.keySort source:1 success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[currentModel.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId];
} }
......
...@@ -937,7 +937,7 @@ BDAlphaPlayerMetalViewDelegate ...@@ -937,7 +937,7 @@ BDAlphaPlayerMetalViewDelegate
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = model.toUid; roomModel.roomId = model.toUid;
roomModel.face = model.toFace; roomModel.face = model.toFace;
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:model.toUid key:model.keyId keySort:model.keySort source:2 success:nil failure:nil]; [FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:model.toUid key:model.keyId keySort:model.keySort source:2 success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[model.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[model.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId];
} }
...@@ -1224,7 +1224,7 @@ BDAlphaPlayerMetalViewDelegate ...@@ -1224,7 +1224,7 @@ BDAlphaPlayerMetalViewDelegate
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = model.toUid; roomModel.roomId = model.toUid;
roomModel.face = model.toFace; roomModel.face = model.toFace;
[[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel success:nil failure:nil]; [[FUSLiveHelper shareInstance] fus_switchRoomWithRoomInfoModel:roomModel behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:model.toUid key:model.keyId keySort:model.keySort source:2 success:nil failure:nil]; [FUSLiveHttpHelper fus_requestJumpToRoomStatFlowDataWithToRoomId:model.toUid key:model.keyId keySort:model.keySort source:2 success:nil failure:nil];
[FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[model.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId]; [FUSDataStatisticsManager fus_behaviorJoinRoomLogWithReqType:7 reqEventType:[model.msgType.description isEqualToString:@"1"] ? 2 : 1 extraInfo:@"" extraJson:@"" roomId:roomModel.roomId];
} }
......
...@@ -135,8 +135,12 @@ ...@@ -135,8 +135,12 @@
} }
- (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)roomModel { - (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)roomModel{
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:nil failure:nil]; [self fus_enterLiveRoomWithModel:roomModel behaviorSrc:@""];
}
- (void)fus_enterLiveRoomWithModel:(FUSRoomInfoModel *)roomModel behaviorSrc:(nonnull NSString *)behaviorSrc {
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:behaviorSrc success:nil failure:nil];
} }
/// 发送弹幕 /// 发送弹幕
...@@ -181,10 +185,13 @@ ...@@ -181,10 +185,13 @@
} }
#pragma mark - Public Methods #pragma mark - Public Methods
- (void)fus_enterLiveRoom:(NSString *)roomId { - (void)fus_enterLiveRoom:(NSString *)roomId{
[self fus_enterLiveRoom:roomId behaviorSrc:@""];
}
- (void)fus_enterLiveRoom:(NSString *)roomId behaviorSrc:(nonnull NSString *)behaviorSrc{
FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init]; FUSRoomInfoModel *roomModel = [[FUSRoomInfoModel alloc]init];
roomModel.roomId = roomId; roomModel.roomId = roomId;
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:nil failure:nil]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:behaviorSrc success:nil failure:nil];
} }
/** /**
...@@ -267,7 +274,7 @@ ...@@ -267,7 +274,7 @@
[FUSTalkingData fus_trackEvent:FUSLiveEventTrackParams.fus_EVENT_ROOM_ENTER_SOURCE label:@"" parameters:@{@"source":@"push", [FUSTalkingData fus_trackEvent:FUSLiveEventTrackParams.fus_EVENT_ROOM_ENTER_SOURCE label:@"" parameters:@{@"source":@"push",
@"room_id":model.roomId @"room_id":model.roomId
}]; }];
[FUSLiveHelper fus_playLiveWithRoomInfoModel:model success:nil failure:nil]; [FUSLiveHelper fus_playLiveWithRoomInfoModel:model behaviorSrc:@"" success:nil failure:nil];
[FUSLiveHelper shareInstance].pushUID = nil; [FUSLiveHelper shareInstance].pushUID = nil;
// Firebase 统计 // Firebase 统计
[FIRAnalytics logEventWithName:@"enterroom" parameters:@{@"source":@"other", [FIRAnalytics logEventWithName:@"enterroom" parameters:@{@"source":@"other",
...@@ -365,7 +372,7 @@ ...@@ -365,7 +372,7 @@
FUSRoomInfoModel *roomModel = [FUSRoomInfoModel new]; FUSRoomInfoModel *roomModel = [FUSRoomInfoModel new];
roomModel.roomType = @"2"; roomModel.roomType = @"2";
roomModel.roomId = [FUSCacheDataShare shareStore].userDetailInfo.uid; roomModel.roomId = [FUSCacheDataShare shareStore].userDetailInfo.uid;
[FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel success:^{ [FUSLiveHelper fus_playLiveWithRoomInfoModel:roomModel behaviorSrc:@"" success:^{
FUSLogDebug(@""); FUSLogDebug(@"");
} failure:^{ } failure:^{
FUSLogDebug(@""); FUSLogDebug(@"");
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
<key>FUSUserCenterModule.xcscheme_^#shared#^_</key> <key>FUSUserCenterModule.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>89</integer> <integer>83</integer>
</dict> </dict>
<key>FUSUserCenterModuleBundle.xcscheme_^#shared#^_</key> <key>FUSUserCenterModuleBundle.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>86</integer> <integer>87</integer>
</dict> </dict>
</dict> </dict>
</dict> </dict>
......
...@@ -1255,6 +1255,7 @@ ...@@ -1255,6 +1255,7 @@
FUSMyZoneViewController *zoneViewCtrl = [[FUSMyZoneViewController alloc] init]; FUSMyZoneViewController *zoneViewCtrl = [[FUSMyZoneViewController alloc] init];
zoneViewCtrl.isFromLiveRoomChat = NO; zoneViewCtrl.isFromLiveRoomChat = NO;
zoneViewCtrl.zoneUid = zoneId; zoneViewCtrl.zoneUid = zoneId;
zoneViewCtrl.behaviorSrc = 4;
[[[UIViewController fus_topViewController] navigationController] pushViewController:zoneViewCtrl animated:YES]; [[[UIViewController fus_topViewController] navigationController] pushViewController:zoneViewCtrl animated:YES];
// [self fus_hideKeyboard]; // [self fus_hideKeyboard];
} }
......
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#import "FUSNewsFeedLikeModel.h" #import "FUSNewsFeedLikeModel.h"
#import "FUSNewsFeedDetailViewController.h" #import "FUSNewsFeedDetailViewController.h"
#import <FUSCommon/FUSCommon-Swift.h>
#import <FUSCommon/FUSSettingConfigModel.h>
@implementation FUSNewsFeedHttpHelper @implementation FUSNewsFeedHttpHelper
...@@ -30,6 +32,8 @@ ...@@ -30,6 +32,8 @@
BOOL dynamicAutoLoadingSwitch = [dataDict[@"dynamicAutoLoadingSwitch"] boolValue]; BOOL dynamicAutoLoadingSwitch = [dataDict[@"dynamicAutoLoadingSwitch"] boolValue];
BOOL enlargeFaceSwitch = [dataDict[@"micTakeFaceEffectSwitch"] boolValue]; BOOL enlargeFaceSwitch = [dataDict[@"micTakeFaceEffectSwitch"] boolValue];
[FUSSwiftCacheDataShare share].oc_switchStintConfig = [FUSSwitchStintConfigModel fus_modelWithDict:dataDict];
[[NSUserDefaults standardUserDefaults] setObject:@(enlargeFaceSwitch) forKey:FUSLiveUDKeys.fus_LIVE_LINKMIC_FACE_ENLARGE_SWITCH]; [[NSUserDefaults standardUserDefaults] setObject:@(enlargeFaceSwitch) forKey:FUSLiveUDKeys.fus_LIVE_LINKMIC_FACE_ENLARGE_SWITCH];
[[NSUserDefaults standardUserDefaults] setObject:@(dynamicCommentLevelStint) forKey:FUSUserUDKeys.fus_DYNAMIC_COMMENT_LEVEL_STINT]; [[NSUserDefaults standardUserDefaults] setObject:@(dynamicCommentLevelStint) forKey:FUSUserUDKeys.fus_DYNAMIC_COMMENT_LEVEL_STINT];
[[NSUserDefaults standardUserDefaults] setObject:@(dynamicSendShowSwitch) forKey:FUSUserUDKeys.fus_DYNAMIC_SEND_SHOW_SWITCH]; [[NSUserDefaults standardUserDefaults] setObject:@(dynamicSendShowSwitch) forKey:FUSUserUDKeys.fus_DYNAMIC_SEND_SHOW_SWITCH];
......
...@@ -15,4 +15,7 @@ ...@@ -15,4 +15,7 @@
@property (nonatomic,assign) BOOL needShowUserInfoCard; @property (nonatomic,assign) BOOL needShowUserInfoCard;
/// 行为来源 1:分享加入 2:榜单加入 3:俱乐部加入 4:贴文加入
@property (nonatomic, copy) NSString *behaviorSrc;
@end @end
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
roomInfoModel.roomId = _zoneModel.uid; roomInfoModel.roomId = _zoneModel.uid;
roomInfoModel.publishUrl = _zoneModel.streamUrl; roomInfoModel.publishUrl = _zoneModel.streamUrl;
[FUSRouter.liveRouter fus_enterLiveRoomWithModel:roomInfoModel]; [FUSRouter.liveRouter fus_enterLiveRoomWithModel:roomInfoModel behaviorSrc:self.behaviorSrc ?: @""];
// Firebase 统计 // Firebase 统计
[FIRAnalytics logEventWithName:@"enterroom" parameters:@{@"source":@"homepage", [FIRAnalytics logEventWithName:@"enterroom" parameters:@{@"source":@"homepage",
@"useruid":[FUSCacheDataShare shareStore].userDetailInfo.uid, @"useruid":[FUSCacheDataShare shareStore].userDetailInfo.uid,
......
...@@ -179,10 +179,21 @@ ...@@ -179,10 +179,21 @@
- (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat { - (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat {
[self fus_enterUserZone:userId isFromLiveRoomChat:isFromLiveRoomChat extraParm:@{}];
}
- (void)fus_enterUserZone:(NSString *)userId isFromLiveRoomChat:(BOOL)isFromLiveRoomChat extraParm:(NSDictionary *)extraParm{
FUSMyZoneViewController *zoneViewCtrl = [[FUSMyZoneViewController alloc] init]; FUSMyZoneViewController *zoneViewCtrl = [[FUSMyZoneViewController alloc] init];
zoneViewCtrl.isFromLiveRoomChat = isFromLiveRoomChat; zoneViewCtrl.isFromLiveRoomChat = isFromLiveRoomChat;
zoneViewCtrl.zoneUid = userId; zoneViewCtrl.zoneUid = userId;
if (extraParm != nil && extraParm.allKeys.count > 0) {
NSString *behaviorSrc = extraParm[FUSCommonExtraKeys.fus_KEY_zoneBehaviorSrc];
if (behaviorSrc != nil && behaviorSrc.length > 0) {
zoneViewCtrl.behaviorSrc = behaviorSrc;
}
}
[[[UIViewController fus_topViewController] navigationController] pushViewController:zoneViewCtrl animated:YES]; [[[UIViewController fus_topViewController] navigationController] pushViewController:zoneViewCtrl animated:YES];
} }
......
...@@ -83,6 +83,7 @@ PODS: ...@@ -83,6 +83,7 @@ PODS:
- RxCocoa - RxCocoa
- RxDataSources - RxDataSources
- RxSwift - RxSwift
- SwiftyJSON (~> 4.0)
- TenjinSDK - TenjinSDK
- FUSFoundation (1.0.0): - FUSFoundation (1.0.0):
- AFNetworking - AFNetworking
...@@ -398,7 +399,7 @@ SPEC CHECKSUMS: ...@@ -398,7 +399,7 @@ SPEC CHECKSUMS:
FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd
FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
FUSBDAlphaPlayer: 21eeb719a640eea5b40d340b340acc1e5e276509 FUSBDAlphaPlayer: 21eeb719a640eea5b40d340b340acc1e5e276509
FUSCommon: ec4a2d9032a1d12387f6094a67a0783f1d831f41 FUSCommon: 83cfb6e868d4036569abe0e6f5bcb3f1d14e3126
FUSFoundation: f64e8ce77cd42b74fe676fc1910f3c5d5af8b934 FUSFoundation: f64e8ce77cd42b74fe676fc1910f3c5d5af8b934
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4 GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
GoogleAppMeasurement: 6b6a08fd9c71f4dbc89e0e812acca81d797aa342 GoogleAppMeasurement: 6b6a08fd9c71f4dbc89e0e812acca81d797aa342
......
...@@ -55,7 +55,10 @@ ...@@ -55,7 +55,10 @@
], ],
"RxCocoa": [], "RxCocoa": [],
"RxSwift": [], "RxSwift": [],
"RxDataSources": [] "RxDataSources": [],
"SwiftyJSON": [
"~> 4.0"
]
}, },
"prefix_header_contents": [ "prefix_header_contents": [
"#import <FUSFoundation/FUSFoundation.h>", "#import <FUSFoundation/FUSFoundation.h>",
......
...@@ -83,6 +83,7 @@ PODS: ...@@ -83,6 +83,7 @@ PODS:
- RxCocoa - RxCocoa
- RxDataSources - RxDataSources
- RxSwift - RxSwift
- SwiftyJSON (~> 4.0)
- TenjinSDK - TenjinSDK
- FUSFoundation (1.0.0): - FUSFoundation (1.0.0):
- AFNetworking - AFNetworking
...@@ -398,7 +399,7 @@ SPEC CHECKSUMS: ...@@ -398,7 +399,7 @@ SPEC CHECKSUMS:
FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd
FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
FUSBDAlphaPlayer: 21eeb719a640eea5b40d340b340acc1e5e276509 FUSBDAlphaPlayer: 21eeb719a640eea5b40d340b340acc1e5e276509
FUSCommon: ec4a2d9032a1d12387f6094a67a0783f1d831f41 FUSCommon: 83cfb6e868d4036569abe0e6f5bcb3f1d14e3126
FUSFoundation: f64e8ce77cd42b74fe676fc1910f3c5d5af8b934 FUSFoundation: f64e8ce77cd42b74fe676fc1910f3c5d5af8b934
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4 GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
GoogleAppMeasurement: 6b6a08fd9c71f4dbc89e0e812acca81d797aa342 GoogleAppMeasurement: 6b6a08fd9c71f4dbc89e0e812acca81d797aa342
......
This source diff could not be displayed because it is too large. You can view the blob instead.
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FUSCommon CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FUSCommon
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/AliyunOSSiOS" "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/Bifrost" "${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket" "${PODS_CONFIGURATION_BUILD_DIR}/Differentiator" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/FUSBDAlphaPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/FUSFoundation" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations" "${PODS_CONFIGURATION_BUILD_DIR}/GTMAppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities" "${PODS_CONFIGURATION_BUILD_DIR}/HWPanModal" "${PODS_CONFIGURATION_BUILD_DIR}/LineSDKSwift" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/MGSwipeTableCell" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MMDrawerController" "${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC" "${PODS_CONFIGURATION_BUILD_DIR}/RMStore" "${PODS_CONFIGURATION_BUILD_DIR}/RangersAppLog" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxDataSources" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/TTSDK" "${PODS_CONFIGURATION_BUILD_DIR}/UIImage+BlurredFrame" "${PODS_CONFIGURATION_BUILD_DIR}/YYKit" "${PODS_CONFIGURATION_BUILD_DIR}/ZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/libPhoneNumber-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb" "${PODS_ROOT}/../DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Tools/ThirdParty/ByteDanceBeauty" "${PODS_ROOT}/AgoraRtcEngine_iOS" "${PODS_ROOT}/FBAEMKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks" "${PODS_ROOT}/FBSDKLoginKit/XCFrameworks" "${PODS_ROOT}/FBSDKShareKit/XCFrameworks" "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/GoogleAppMeasurement/Frameworks" "${PODS_ROOT}/GoogleSignIn/Frameworks" "${PODS_ROOT}/HyphenateChat" "${PODS_ROOT}/MOBFoundation/MOBFoundation" "${PODS_ROOT}/TTSDK/TTSDK/ByteAudio" "${PODS_ROOT}/TTSDK/TTSDK/TTFFmpeg" "${PODS_ROOT}/TTSDK/TTSDK/VCNVCloudNetwork/products/framework" "${PODS_ROOT}/TTSDK/TTSDK/boringssl" "${PODS_ROOT}/TTSDK/TTSDK/ffmpeg_dashdec_iOS" "${PODS_ROOT}/TenjinSDK" "${PODS_ROOT}/TwitterCore/iOS" "${PODS_ROOT}/TwitterKit5/iOS" "${PODS_ROOT}/YYKit/Vendor" "${PODS_ROOT}/mob_sharesdk/ShareSDK" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/PlatformConnector" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/Required" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBAEMKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit_Basics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKLoginKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKShareKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FirebaseAnalytics/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MOBFoundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TTSDK/ByteAudio" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TenjinSDK" FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/AliyunOSSiOS" "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/Bifrost" "${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket" "${PODS_CONFIGURATION_BUILD_DIR}/Differentiator" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/FUSBDAlphaPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/FUSFoundation" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations" "${PODS_CONFIGURATION_BUILD_DIR}/GTMAppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities" "${PODS_CONFIGURATION_BUILD_DIR}/HWPanModal" "${PODS_CONFIGURATION_BUILD_DIR}/LineSDKSwift" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/MGSwipeTableCell" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MMDrawerController" "${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC" "${PODS_CONFIGURATION_BUILD_DIR}/RMStore" "${PODS_CONFIGURATION_BUILD_DIR}/RangersAppLog" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxDataSources" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/TTSDK" "${PODS_CONFIGURATION_BUILD_DIR}/UIImage+BlurredFrame" "${PODS_CONFIGURATION_BUILD_DIR}/YYKit" "${PODS_CONFIGURATION_BUILD_DIR}/ZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/libPhoneNumber-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb" "${PODS_ROOT}/../DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Tools/ThirdParty/ByteDanceBeauty" "${PODS_ROOT}/AgoraRtcEngine_iOS" "${PODS_ROOT}/FBAEMKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks" "${PODS_ROOT}/FBSDKLoginKit/XCFrameworks" "${PODS_ROOT}/FBSDKShareKit/XCFrameworks" "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/GoogleAppMeasurement/Frameworks" "${PODS_ROOT}/GoogleSignIn/Frameworks" "${PODS_ROOT}/HyphenateChat" "${PODS_ROOT}/MOBFoundation/MOBFoundation" "${PODS_ROOT}/TTSDK/TTSDK/ByteAudio" "${PODS_ROOT}/TTSDK/TTSDK/TTFFmpeg" "${PODS_ROOT}/TTSDK/TTSDK/VCNVCloudNetwork/products/framework" "${PODS_ROOT}/TTSDK/TTSDK/boringssl" "${PODS_ROOT}/TTSDK/TTSDK/ffmpeg_dashdec_iOS" "${PODS_ROOT}/TenjinSDK" "${PODS_ROOT}/TwitterCore/iOS" "${PODS_ROOT}/TwitterKit5/iOS" "${PODS_ROOT}/YYKit/Vendor" "${PODS_ROOT}/mob_sharesdk/ShareSDK" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/PlatformConnector" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/Required" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBAEMKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit_Basics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKLoginKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKShareKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FirebaseAnalytics/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MOBFoundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TTSDK/ByteAudio" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TenjinSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public"
OTHER_CFLAGS[config=Release] = -mllvm -bcf -mllvm -sub -mllvm -split OTHER_CFLAGS[config=Release] = -mllvm -bcf -mllvm -sub -mllvm -split
......
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FUSCommon CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FUSCommon
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/AliyunOSSiOS" "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/Bifrost" "${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket" "${PODS_CONFIGURATION_BUILD_DIR}/Differentiator" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/FUSBDAlphaPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/FUSFoundation" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations" "${PODS_CONFIGURATION_BUILD_DIR}/GTMAppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities" "${PODS_CONFIGURATION_BUILD_DIR}/HWPanModal" "${PODS_CONFIGURATION_BUILD_DIR}/LineSDKSwift" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/MGSwipeTableCell" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MMDrawerController" "${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC" "${PODS_CONFIGURATION_BUILD_DIR}/RMStore" "${PODS_CONFIGURATION_BUILD_DIR}/RangersAppLog" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxDataSources" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/TTSDK" "${PODS_CONFIGURATION_BUILD_DIR}/UIImage+BlurredFrame" "${PODS_CONFIGURATION_BUILD_DIR}/YYKit" "${PODS_CONFIGURATION_BUILD_DIR}/ZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/libPhoneNumber-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb" "${PODS_ROOT}/../DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Tools/ThirdParty/ByteDanceBeauty" "${PODS_ROOT}/AgoraRtcEngine_iOS" "${PODS_ROOT}/FBAEMKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks" "${PODS_ROOT}/FBSDKLoginKit/XCFrameworks" "${PODS_ROOT}/FBSDKShareKit/XCFrameworks" "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/GoogleAppMeasurement/Frameworks" "${PODS_ROOT}/GoogleSignIn/Frameworks" "${PODS_ROOT}/HyphenateChat" "${PODS_ROOT}/MOBFoundation/MOBFoundation" "${PODS_ROOT}/TTSDK/TTSDK/ByteAudio" "${PODS_ROOT}/TTSDK/TTSDK/TTFFmpeg" "${PODS_ROOT}/TTSDK/TTSDK/VCNVCloudNetwork/products/framework" "${PODS_ROOT}/TTSDK/TTSDK/boringssl" "${PODS_ROOT}/TTSDK/TTSDK/ffmpeg_dashdec_iOS" "${PODS_ROOT}/TenjinSDK" "${PODS_ROOT}/TwitterCore/iOS" "${PODS_ROOT}/TwitterKit5/iOS" "${PODS_ROOT}/YYKit/Vendor" "${PODS_ROOT}/mob_sharesdk/ShareSDK" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/PlatformConnector" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/Required" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBAEMKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit_Basics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKLoginKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKShareKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FirebaseAnalytics/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MOBFoundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TTSDK/ByteAudio" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TenjinSDK" FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/AliyunOSSiOS" "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/Bifrost" "${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket" "${PODS_CONFIGURATION_BUILD_DIR}/Differentiator" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/FUSBDAlphaPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/FUSFoundation" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations" "${PODS_CONFIGURATION_BUILD_DIR}/GTMAppAuth" "${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities" "${PODS_CONFIGURATION_BUILD_DIR}/HWPanModal" "${PODS_CONFIGURATION_BUILD_DIR}/LineSDKSwift" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/MGSwipeTableCell" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MMDrawerController" "${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC" "${PODS_CONFIGURATION_BUILD_DIR}/RMStore" "${PODS_CONFIGURATION_BUILD_DIR}/RangersAppLog" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxDataSources" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/TTSDK" "${PODS_CONFIGURATION_BUILD_DIR}/UIImage+BlurredFrame" "${PODS_CONFIGURATION_BUILD_DIR}/YYKit" "${PODS_CONFIGURATION_BUILD_DIR}/ZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/libPhoneNumber-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb" "${PODS_ROOT}/../DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Tools/ThirdParty/ByteDanceBeauty" "${PODS_ROOT}/AgoraRtcEngine_iOS" "${PODS_ROOT}/FBAEMKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit/XCFrameworks" "${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks" "${PODS_ROOT}/FBSDKLoginKit/XCFrameworks" "${PODS_ROOT}/FBSDKShareKit/XCFrameworks" "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/GoogleAppMeasurement/Frameworks" "${PODS_ROOT}/GoogleSignIn/Frameworks" "${PODS_ROOT}/HyphenateChat" "${PODS_ROOT}/MOBFoundation/MOBFoundation" "${PODS_ROOT}/TTSDK/TTSDK/ByteAudio" "${PODS_ROOT}/TTSDK/TTSDK/TTFFmpeg" "${PODS_ROOT}/TTSDK/TTSDK/VCNVCloudNetwork/products/framework" "${PODS_ROOT}/TTSDK/TTSDK/boringssl" "${PODS_ROOT}/TTSDK/TTSDK/ffmpeg_dashdec_iOS" "${PODS_ROOT}/TenjinSDK" "${PODS_ROOT}/TwitterCore/iOS" "${PODS_ROOT}/TwitterKit5/iOS" "${PODS_ROOT}/YYKit/Vendor" "${PODS_ROOT}/mob_sharesdk/ShareSDK" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/PlatformConnector" "${PODS_ROOT}/mob_sharesdk/ShareSDK/Support/Required" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AgoraRtcEngine_iOS/RtcBasic" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBAEMKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKCoreKit_Basics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKLoginKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FBSDKShareKit" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FirebaseAnalytics/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/AdIdSupport" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MOBFoundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TTSDK/ByteAudio" "${PODS_XCFRAMEWORKS_BUILD_DIR}/TenjinSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public"
OTHER_CFLAGS[config=Release] = -mllvm -bcf -mllvm -sub -mllvm -split OTHER_CFLAGS[config=Release] = -mllvm -bcf -mllvm -sub -mllvm -split
......
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