feat: update 2.1.6 binary

2.1.6
xiaoyi 2021-07-01 15:52:40 +08:00
parent 1cc1b3334c
commit f1e5940dfd
14 changed files with 23 additions and 18 deletions

View File

@ -1,5 +1,11 @@
# ChangeLog # ChangeLog
## 2.1.6
### BreakingChanges
- 修改 **TapCommon.OpenReviewInTapGlobal()** 方法命名
## 2.1.5 ## 2.1.5
### Optimization and fixed bugs ### Optimization and fixed bugs

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 40b976672c1f646b69a00e902a6b8aa7 guid: 7dec5c56ea74a4cb5ad72b4bec9685f2
PluginImporter: PluginImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 serializedVersion: 2

Binary file not shown.

Binary file not shown.

View File

@ -9,8 +9,8 @@
#import <TapCommonSDK/TDSAccount.h> #import <TapCommonSDK/TDSAccount.h>
#define TapCommonSDK @"TapCommon" #define TapCommonSDK @"TapCommon"
#define TapCommonSDK_VERSION_NUMBER @"20104003" #define TapCommonSDK_VERSION_NUMBER @"20106001"
#define TapCommonSDK_VERSION @"2.1.4" #define TapCommonSDK_VERSION @"2.1.6"
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
typedef NSString *TDSLanguage NS_STRING_ENUM; typedef NSString *TDSLanguage NS_STRING_ENUM;

View File

@ -22,39 +22,40 @@ FOUNDATION_EXTERN NSString *const DOMAIN_CHECK_DELAY_KEY;
FOUNDATION_EXTERN NSString *const DOMAIN_CHECK_REACHABLE_KEY; FOUNDATION_EXTERN NSString *const DOMAIN_CHECK_REACHABLE_KEY;
@interface TDSDomainManager : NSObject @interface TDSDomainManager : NSObject
/// 获取一个域名管理实例
+ (void)setupDelegate:(id<TDSDomainManagerDelegate>)delegate;
/// 预置域名
/// @param mainDomains 主域名 /// @param mainDomains 主域名
/// @param backupDomains 备用域名 /// @param backupDomains 备用域名
+ (void)setupDomains:(NSArray *)mainDomains backupDomains:(NSArray *)backupDomains; + (TDSDomainManager *)managerForDomains:(NSArray *)mainDomains backupDomains:(NSArray *)backupDomains;
- (void)setupDelegate:(id<TDSDomainManagerDelegate>)delegate;
/// 指定域名检查接口 /// 指定域名检查接口
/// @param checkAPI 检查接口 /// @param checkAPI 检查接口
+ (void)setupCheckAPI:(NSString *)checkAPI; - (void)setupCheckAPI:(NSString *)checkAPI;
/// 获取一个当前可用域名 /// 获取一个当前可用域名
+ (NSString *)getActiveDomain; - (NSString *)getActiveDomain;
/// 标记一个域名为可用 /// 标记一个域名为可用
/// @param domain 域名 /// @param domain 域名
- (void)activeDomain:(NSString *)domain;
+ (void)activeDomain:(NSString *)domain; + (void)activeDomain:(NSString *)domain;
/// 标记一个域名不可用 /// 标记一个域名不可用
/// @param domain 域名 /// @param domain 域名
- (void)deactiveDomain:(NSString *)domain;
+ (void)deactiveDomain:(NSString *)domain; + (void)deactiveDomain:(NSString *)domain;
/// 开始检测域名,并定期检测 /// 开始检测域名,并定期检测
+ (void)startCheckDomains; - (void)startCheckDomains;
/// 开始检测域名 /// 开始检测域名
/// @param api 若传入api则会请求该api数据,若传入空则直接检查域名连通 /// @param api 若传入api则会请求该api数据,若传入空则直接检查域名连通
/// @param repeat 是否定时检测 /// @param repeat 是否定时检测
+ (void)startCheckDomains:(nullable NSString *)api repeat:(BOOL)repeat; - (void)startCheckDomains:(nullable NSString *)api repeat:(BOOL)repeat;
/// 停止检测域名 /// 停止检测域名
+ (void)stopCheckDomains; - (void)stopCheckDomains;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@ -11,7 +11,8 @@ NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger { typedef enum : NSUInteger {
TDSTrackerForTapsdk = 1, TDSTrackerForTapsdk = 1,
TDSTrackerForFriends, TDSTrackerForFriends,
TDSTrackerForNetwork TDSTrackerForNetwork,
TDSTrackerForTapSDKNetwork
} TDSTrackerType; } TDSTrackerType;
@interface TDSTrackerConfig : NSObject @interface TDSTrackerConfig : NSObject

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +0,0 @@
### Optimization and fixed bugs
- 内部优化

View File

@ -2,7 +2,7 @@
"name": "com.taptap.tds.common", "name": "com.taptap.tds.common",
"displayName": "TapTap Common", "displayName": "TapTap Common",
"description": "TapTap Develop Service", "description": "TapTap Develop Service",
"version": "2.1.5", "version": "2.1.6",
"unity": "2018.3", "unity": "2018.3",
"license": "MIT" "license": "MIT"
} }