From 1b39619dc6cdafa8a34788d43aba36cd80ec906f Mon Sep 17 00:00:00 2001 From: Brett <> Date: Mon, 5 Aug 2024 15:34:10 +0800 Subject: [PATCH] feat: https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.8.0 --- OpenIMSDK.podspec | 4 ++-- OpenIMSDK/Interface/OIMManager+Connection.h | 1 + OpenIMSDK/Interface/OIMManager+Connection.m | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/OpenIMSDK.podspec b/OpenIMSDK.podspec index 016b128..73478b9 100644 --- a/OpenIMSDK.podspec +++ b/OpenIMSDK.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'OpenIMSDK' - s.version = '3.8.0-rc.16' + s.version = '3.8.0' s.summary = 'Open-IM-SDK' # This description is used to generate tags and improve search results. @@ -77,6 +77,6 @@ Pod::Spec.new do |s| s.static_framework = true - s.dependency 'OpenIMSDKCore', '3.8.0-rc.16' + s.dependency 'OpenIMSDKCore', '3.8.0' s.dependency 'MJExtension' end diff --git a/OpenIMSDK/Interface/OIMManager+Connection.h b/OpenIMSDK/Interface/OIMManager+Connection.h index 2f7cfb2..d571c58 100644 --- a/OpenIMSDK/Interface/OIMManager+Connection.h +++ b/OpenIMSDK/Interface/OIMManager+Connection.h @@ -43,6 +43,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)unInitSDK; - (void)uploadLogsWithProgress:(OIMUploadProgressCallback)onProgress + line:(NSInteger )line ex:(NSString *)ex onSuccess:(OIMSuccessCallback)onSuccess onFailure:(OIMFailureCallback)onFailure; diff --git a/OpenIMSDK/Interface/OIMManager+Connection.m b/OpenIMSDK/Interface/OIMManager+Connection.m index dce3e50..3b473e4 100644 --- a/OpenIMSDK/Interface/OIMManager+Connection.m +++ b/OpenIMSDK/Interface/OIMManager+Connection.m @@ -63,7 +63,8 @@ - (void)unInitSDK { Open_im_sdkUnInitSDK([self operationId]); } -- (void)uploadLogsWithProgress:(OIMUploadProgressCallback)onProgress +- (void)uploadLogsWithProgress:(OIMUploadProgressCallback)onProgress + line:(NSInteger )line ex:(NSString *)ex onSuccess:(OIMSuccessCallback)onSuccess onFailure:(OIMFailureCallback)onFailure { @@ -71,6 +72,6 @@ - (void)uploadLogsWithProgress:(OIMUploadProgressCallback)onProgress UploadLogsCallbackProxy *progress = [[UploadLogsCallbackProxy alloc] initWithOnProgress:onProgress]; - Open_im_sdkUploadLogs(callback, [self operationId], ex, progress); + Open_im_sdkUploadLogs(callback, [self operationId], @(line), ex, progress); } @end