feat(dbconfig): update tapdb init

xiaoyi 2021-04-28 17:56:23 +08:00
parent 02e69683d7
commit f3f3f2f0f4
15 changed files with 50 additions and 7 deletions

Binary file not shown.

Binary file not shown.

View File

@ -24,6 +24,5 @@
- (NSString *)tds_base64Dencode;
/// 是否是空字符串
- (BOOL)tds_isEmpty;
+ (BOOL)tds_isEmpty:(NSString *)string;
@end

View File

@ -1,15 +1,16 @@
//
// TDSCommonEnvironment.h
// TDSCommonMacros.h
// TDSCommon
//
// Created by Bottle K on 2021/1/7.
//
# define isRND false
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSCommonEnvironment : NSObject
@interface TDSCommonMacros : NSObject
+ (bool)isCurrentRND;
@end

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: b51669be93b9f4b84842892b80a0ce16
guid: a2a0578a01f9343d590ae7d8c2007ed8
DefaultImporter:
externalObjects: {}
userData:

View File

@ -0,0 +1,36 @@
//
// TDSDomainChecker.h
// TapCommonSDK
//
// Created by Bottle K on 2021/4/19.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSDomainChecker : NSObject
/// 配置日志参数
/// @param clientId clientId
/// @param clientSecret clientSecret
/// @param sdkVersionName SDK Version Name
+ (void)setupTrackerWithId:(NSString *)clientId secret:(NSString *)clientSecret sdkVersionName:(NSString *)sdkVersionName;
/// 配置域名
+ (void)setupDomains;
/// 获取一个当前可用域名
+ (NSString *)getActiveDomain;
/// 标记一个域名不可用
/// @param domain 域名
+ (void)deactiveDomain:(NSString *)domain;
/// 开始检测域名
+ (void)startCheckDomains;
+ (void)stopCheckDomains;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b59eb939c977345128671f162d07f3d4
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -22,12 +22,11 @@ FOUNDATION_EXPORT const unsigned char TapCommonSDKVersionString[];
#import <TapCommonSDK/TDSAccountProvider.h>
#import <TapCommonSDK/TDSDomainManager.h>
#import <TapCommonSDK/TDSDomainChecker.h>
#import <TapCommonSDK/TDSGameUtil.h>
#import <TapCommonSDK/TDSAutoLayout.h>
#import <TapCommonSDK/TDSCommonEnvironment.h>
#import <TapCommonSDK/TDSGameUtil.h>
#import <TapCommonSDK/EngineBridgeError.h>
#import <TapCommonSDK/TDSBridge.h>
#import <TapCommonSDK/TDSBridgeCallback.h>
@ -82,6 +81,7 @@ FOUNDATION_EXPORT const unsigned char TapCommonSDKVersionString[];
#import <TapCommonSDK/TDSWKCookieWebview.h>
#import <TapCommonSDK/WKCookieWebview+CookiesHandle.h>
#import <TapCommonSDK/TDSCommonService.h>
#import <TapCommonSDK/TDSCommonMacros.h>
#import <TapCommonSDK/TDSNetInterceptor.h>
#import <TapCommonSDK/TDSCommonConfirmDialog.h>
#import <TapCommonSDK/TDSCommonUIHelper.h>

View File

Binary file not shown.

Binary file not shown.