Skip to content

Commit

Permalink
update ios TUIKit&Demo version 6.8.3374
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliangwang committed Nov 15, 2022
1 parent d633368 commit ad5c4e6
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 187 deletions.
14 changes: 7 additions & 7 deletions iOS/Demo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ target 'TUIKitDemo' do
use_modular_headers!

# Pods for Example
pod 'TUIChat', '6.7.3184'
pod 'TUIConversation', '6.7.3184'
pod 'TUIContact', '6.7.3184'
pod 'TUIGroup', '6.7.3184'
pod 'TUISearch', '6.7.3184'
pod 'TUIOfflinePush', '6.7.3184'
pod 'TUIChat', '6.8.3374'
pod 'TUIConversation', '6.8.3374'
pod 'TUIContact', '6.8.3374'
pod 'TUIGroup', '6.8.3374'
pod 'TUISearch', '6.8.3374'
pod 'TUIOfflinePush', '6.8.3374'
pod 'TUICallKit'
pod 'MJRefresh'

Expand All @@ -30,4 +30,4 @@ post_install do |installer|
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
end
6 changes: 3 additions & 3 deletions iOS/Podspec/TUIChat.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUIChat'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -17,8 +17,8 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIChat.zip'}
spec.dependency 'TUICore','6.8.3373'
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIChat.zip'}
spec.dependency 'TUICore','6.8.3374'

spec.subspec 'Header' do |header|
header.source_files = '**/TUIChat/Header/*.{h,m,mm}'
Expand Down
6 changes: 3 additions & 3 deletions iOS/Podspec/TUIContact.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUIContact'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIContact.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIContact.zip'}

spec.subspec 'Header' do |header|
header.source_files = '**/TUIContact/Header/*.{h,m,mm}'
Expand All @@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
spec.subspec 'Cell' do |cell|
cell.subspec 'CellData' do |cellData|
cellData.source_files = '**/TUIContact/Cell/CellData/*.{h,m,mm}'
cellData.dependency 'TUICore','6.8.3373'
cellData.dependency 'TUICore','6.8.3374'
end

cell.subspec 'CellUI' do |cellUI|
Expand Down
6 changes: 3 additions & 3 deletions iOS/Podspec/TUIConversation.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUIConversation'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIConversation.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIConversation.zip'}

spec.subspec 'Header' do |header|
header.source_files = '**/TUIConversation/Header/*.{h,m,mm}'
Expand All @@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
spec.subspec 'Cell' do |cell|
cell.subspec 'CellData' do |cellData|
cellData.source_files = '**/TUIConversation/Cell/CellData/*.{h,m,mm}'
cellData.dependency 'TUICore','6.8.3373'
cellData.dependency 'TUICore','6.8.3374'
end

cell.subspec 'CellUI' do |cellUI|
Expand Down
10 changes: 5 additions & 5 deletions iOS/Podspec/TUICore.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|
spec.name = 'TUICore'
spec.version = '6.7.3188'
spec.platform = :ios
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
:text => <<-LICENSE
Expand All @@ -16,20 +16,20 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.7.3188/ios/TUICore.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUICore.zip'}

spec.default_subspec = 'ImSDK_Plus'

spec.dependency 'ReactiveObjC'
spec.dependency 'SDWebImage'

spec.subspec 'ImSDK_Plus' do |ss|
ss.dependency 'TXIMSDK_Plus_iOS','6.7.3184'
ss.dependency 'TXIMSDK_Plus_iOS','6.8.3374'
ss.dependency 'TUICore/Base'
end

spec.subspec 'ImSDK_Scenario' do |ss|
ss.dependency 'TXIMSDK_Customer_iOS','6.7.3186'
ss.dependency 'TXIMSDK_Customer_iOS','6.8.3374'
ss.dependency 'TUICore/Base'
end

Expand Down
6 changes: 3 additions & 3 deletions iOS/Podspec/TUIGroup.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUIGroup'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIGroup.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIGroup.zip'}

spec.subspec 'Header' do |header|
header.source_files = '**/TUIGroup/Header/*.{h,m,mm}'
Expand All @@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
spec.subspec 'Cell' do |cell|
cell.subspec 'CellData' do |cellData|
cellData.source_files = '**/TUIGroup/Cell/CellData/*.{h,m,mm}'
cellData.dependency 'TUICore','6.8.3373'
cellData.dependency 'TUICore','6.8.3374'
end

cell.subspec 'CellUI' do |cellUI|
Expand Down
6 changes: 3 additions & 3 deletions iOS/Podspec/TUIOfflinePush.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUIOfflinePush'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIOfflinePush.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIOfflinePush.zip'}

spec.default_subspec = 'APNS'

Expand All @@ -37,7 +37,7 @@ Pod::Spec.new do |spec|
end

spec.subspec 'Base' do |ss|
ss.dependency 'TUICore','6.8.3373'
ss.dependency 'TUICore','6.8.3374'
ss.source_files = '**/TUIOfflinePush/Base/**/*.{h,m,mm}'
end

Expand Down
6 changes: 3 additions & 3 deletions iOS/Podspec/TUISearch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'TUISearch'
spec.version = '6.8.3373'
spec.version = '6.8.3374'
spec.platform = :ios
spec.ios.deployment_target = '9.0'
spec.license = { :type => 'Proprietary',
Expand All @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|

spec.requires_arc = true

spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUISearch.zip'}
spec.source = { :http => 'https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUISearch.zip'}

spec.subspec 'Header' do |header|
header.source_files = '**/TUISearch/Header/*.{h,m,mm}'
Expand All @@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
spec.subspec 'Cell' do |cell|
cell.subspec 'CellData' do |cellData|
cellData.source_files = '**/TUISearch/Cell/CellData/*.{h,m,mm}'
cellData.dependency 'TUICore','6.8.3373'
cellData.dependency 'TUICore','6.8.3374'
end

cell.subspec 'CellUI' do |cellUI|
Expand Down
16 changes: 8 additions & 8 deletions iOS/TUIKit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ English | [简体中文](./README_ZH.md)

## Download Links

[Latest TUIChat download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIChat.zip)
[Latest TUIChat download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIChat.zip)

[Latest TUIConversation download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIConversation.zip)
[Latest TUIConversation download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIConversation.zip)

[Latest TUIContact download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIContact.zip)
[Latest TUIContact download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIContact.zip)

[Latest TUIGroup download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIGroup.zip)
[Latest TUIGroup download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIGroup.zip)

[Latest TUISearch download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUISearch.zip)
[Latest TUISearch download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUISearch.zip)

[Latest TUICallKit download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUICallKit.zip)
[Latest TUICallKit download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUICallKit.zip)

[Latest TUIOfflinePush download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIOfflinePush.zip)
[Latest TUIOfflinePush download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIOfflinePush.zip)

[Latest TUICore download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUICore.zip)
[Latest TUICore download](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUICore.zip)

If you encounter a TUIKit bug, please submit a pull request. After successful merging, we will update the TUIKit library for pod integration in time.
16 changes: 8 additions & 8 deletions iOS/TUIKit/README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

## 下载地址

[最新 TUIChat 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIChat.zip)
[最新 TUIChat 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIChat.zip)

[最新 TUIConversation 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIConversation.zip)
[最新 TUIConversation 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIConversation.zip)

[最新 TUIContact 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIContact.zip)
[最新 TUIContact 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIContact.zip)

[最新 TUIGroup 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIGroup.zip)
[最新 TUIGroup 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIGroup.zip)

[最新 TUISearch 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUISearch.zip)
[最新 TUISearch 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUISearch.zip)

[最新 TUICallKit 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUICallKit.zip)
[最新 TUICallKit 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUICallKit.zip)

[最新 TUIOfflinePush 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUIOfflinePush.zip)
[最新 TUIOfflinePush 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUIOfflinePush.zip)


[最新 TUICore 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3373/ios/TUICore.zip)
[最新 TUICore 下载](https://im.sdk.cloud.tencent.cn/download/tuikit/6.8.3374/ios/TUICore.zip)


## 交流&反馈
Expand Down
2 changes: 0 additions & 2 deletions iOS/TUIKit/TUIChat/Common/TUIUserAuthorizationCenter.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ typedef NS_OPTIONS(NSUInteger, TUIChatAuthControlType) {
};
@interface TUIUserAuthorizationCenter : NSObject
@property (nonatomic, assign, class, readonly) BOOL isEnableCameraAuthorization;
@property (nonatomic, assign, class, readonly) BOOL isEnablePhotoAuthorization;
@property (nonatomic, assign, class, readonly) BOOL isEnableMicroAuthorization;

+ (void)cameraStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));
+ (void)photoStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));
+ (void)microStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));

+ (void)openSettingPage;
Expand Down
28 changes: 0 additions & 28 deletions iOS/TUIKit/TUIChat/Common/TUIUserAuthorizationCenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,34 +57,6 @@ + (void)openSettingPage {
}
}

+ (BOOL)isEnablePhotoAuthorization {

if (@available(iOS 8, *)) {
return [PHPhotoLibrary authorizationStatus] == PHAuthorizationStatusAuthorized;
} else {
return YES;
}
}

+ (void)photoStateActionWithPopCompletion:(void (^)(void))completion {
PHAuthorizationStatus authStatus = [PHPhotoLibrary authorizationStatus];
if (authStatus == PHAuthorizationStatusNotDetermined) {
[PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status) {
if (status == PHAuthorizationStatusAuthorized && completion) {
dispatch_async(dispatch_get_main_queue(), ^{
completion();
});
}
}];
} else if (authStatus == PHAuthorizationStatusAuthorized && completion) {
dispatch_async(dispatch_get_main_queue(), ^{
completion();
});
} else {
[self showAlert:TUIChatAuthControlTypePhoto];
}
}

+ (BOOL)isEnableMicroAuthorization {

if (@available(iOS 7.0, *)) {
Expand Down
Loading

0 comments on commit ad5c4e6

Please sign in to comment.