CNBBASMPlatformImpl.m
981 Bytes
//
// CNBBASMPlatformImpl.m
// CNLiveNetAdd
//
// Created by CNLive on 2021/10/16.
// Copyright © 2021 cnlive. All rights reserved.
//
#import "CNBBASMPlatformImpl.h"
#import "BBASMScanViewController.h"
#import <CNLiveUserManagement/CNUserInfoManager.h>
#import "CNBBASMJumpService.h"
@implementation CNBBASMPlatformImpl
RegisterBBASMAdapter()
+ (NSString *)hostConfigFilePath {
NSBundle *bundle = [NSBundle bundleForClass:[BBASMScanViewController class]];
NSString *bundlePlistPath = [bundle pathForResource:@"BBASMPyramid" ofType:@"bundle"];
return [bundlePlistPath stringByAppendingPathComponent:@"union-cfg.json"];
}
+ (NSString *)getDeviceIdentity {
// 百度系的产品需要使用到BBACuidSDK。生成设备唯一标识符
return CNUserShareModelUid;
}
+ (NSString *)pluginDescriptionPath{
NSString *descPath = [CNBBASMJumpService getPluginDescriptionPath];
return descPath;
}
+ (BOOL)isVerifySupportAppScheme {
return YES;
}
@end