Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett committed Aug 5, 2024
1 parent fbe644c commit 1b39619
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions OpenIMSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions OpenIMSDK/Interface/OIMManager+Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions OpenIMSDK/Interface/OIMManager+Connection.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ - (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 {
CallbackProxy *callback = [[CallbackProxy alloc]initWithOnSuccess:onSuccess onFailure:onFailure];

UploadLogsCallbackProxy *progress = [[UploadLogsCallbackProxy alloc] initWithOnProgress:onProgress];

Open_im_sdkUploadLogs(callback, [self operationId], ex, progress);
Open_im_sdkUploadLogs(callback, [self operationId], @(line), ex, progress);
}
@end

0 comments on commit 1b39619

Please sign in to comment.