diff --git a/WuKongIMSDK.podspec b/WuKongIMSDK.podspec index 24b4974..d069876 100644 --- a/WuKongIMSDK.podspec +++ b/WuKongIMSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'WuKongIMSDK' - s.version = '1.0.4' + s.version = '1.0.5' s.summary = '悟空IM是一款简单,高效,支持完全私有化的即时通讯.' s.license = {"type"=>"MIT", "file"=>"ios/LICENSE"} s.authors = {"tangtaoit"=>"tt@tgo.ai"} diff --git a/ios/WuKongIMSDK.framework/.DS_Store b/ios/WuKongIMSDK.framework/.DS_Store index 428cfd0..24f5f4c 100644 Binary files a/ios/WuKongIMSDK.framework/.DS_Store and b/ios/WuKongIMSDK.framework/.DS_Store differ diff --git a/ios/WuKongIMSDK.framework/Headers/WKConnectionManager.h b/ios/WuKongIMSDK.framework/Headers/WKConnectionManager.h index 47c6cce..2e70eb7 100644 --- a/ios/WuKongIMSDK.framework/Headers/WKConnectionManager.h +++ b/ios/WuKongIMSDK.framework/Headers/WKConnectionManager.h @@ -91,6 +91,7 @@ typedef enum : NSUInteger { */ -(void) sendPacket:(WKPacket*)packet; +-(void) writeData:(NSData*) data; /** 发送ping包 diff --git a/ios/WuKongIMSDK.framework/Headers/WKMessageDB.h b/ios/WuKongIMSDK.framework/Headers/WKMessageDB.h index f313616..0a58aa9 100644 --- a/ios/WuKongIMSDK.framework/Headers/WKMessageDB.h +++ b/ios/WuKongIMSDK.framework/Headers/WKMessageDB.h @@ -220,6 +220,9 @@ NS_ASSUME_NONNULL_BEGIN -(void) deleteMessagesWithClientSeqs:(NSArray*)ids; +-(void) deleteMessagesWithMessageIDs:(NSArray*)messageIDs; + +-(void) deleteMessagesWithMessageIDs:(NSArray*)messageIDs db:(FMDatabase*)db; /** 彻底将消息从数据库删除 (deleteMessage只是标记为删除) diff --git a/ios/WuKongIMSDK.framework/Headers/WKMessageExtra.h b/ios/WuKongIMSDK.framework/Headers/WKMessageExtra.h index 606779e..f824325 100644 --- a/ios/WuKongIMSDK.framework/Headers/WKMessageExtra.h +++ b/ios/WuKongIMSDK.framework/Headers/WKMessageExtra.h @@ -33,6 +33,7 @@ typedef enum : NSUInteger { @property(nonatomic,assign) NSInteger editedAt; // 消息编辑时间 (0表示消息未被编辑) @property(nonatomic,assign) BOOL isEdit; // 是否编辑 @property(nonatomic,assign) WKContentEditUploadStatus uploadStatus; // 上传状态 +@property(nonatomic,assign) BOOL isMutualDeleted; // 是否双向删除 @property(nonatomic,copy) NSDictionary *extra; // 扩展数据 diff --git a/ios/WuKongIMSDK.framework/Headers/WKMessageQueueManager.h b/ios/WuKongIMSDK.framework/Headers/WKMessageQueueManager.h new file mode 100644 index 0000000..5217b9f --- /dev/null +++ b/ios/WuKongIMSDK.framework/Headers/WKMessageQueueManager.h @@ -0,0 +1,25 @@ +// +// WKMessageQueueManager.h +// WuKongIMSDK +// +// Created by tt on 2023/11/15. +// + +#import +#import "WKMessage.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface WKMessageQueueManager : NSObject + ++ (WKMessageQueueManager *)shared; + +-(void) start; + +-(void) stop; + +- (void)sendMessage:(WKMessage *)message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/WuKongIMSDK.framework/Headers/WKOptions.h b/ios/WuKongIMSDK.framework/Headers/WKOptions.h index e72e32a..ab04a6f 100644 --- a/ios/WuKongIMSDK.framework/Headers/WKOptions.h +++ b/ios/WuKongIMSDK.framework/Headers/WKOptions.h @@ -138,6 +138,9 @@ typedef WKConnectInfo*_Nonnull(^WKConnectInfoCallback)(void); @property(nonatomic,assign) NSInteger expireMsgCheckInterval; // 过期消息检查间隔 单位秒 @property(nonatomic,assign) NSInteger expireMsgLimit; // 过期消息每次查询数量 +@property(nonatomic,assign) NSInteger sendFrequency; // 消息发送延迟时间 单位毫秒 +@property(nonatomic,assign) NSInteger sendMaxCountOfEach; // 消息每次发送最大数量 + @end NS_ASSUME_NONNULL_END diff --git a/ios/WuKongIMSDK.framework/Headers/WuKongIMSDK-umbrella.h b/ios/WuKongIMSDK.framework/Headers/WuKongIMSDK-umbrella.h index 02b95a6..23c5a77 100644 --- a/ios/WuKongIMSDK.framework/Headers/WuKongIMSDK-umbrella.h +++ b/ios/WuKongIMSDK.framework/Headers/WuKongIMSDK-umbrella.h @@ -55,6 +55,7 @@ #import "WKConversationManagerInner.h" #import "WKFlameManager.h" #import "WKMediaManager.h" +#import "WKMessageQueueManager.h" #import "WKMOSContentConvertManager.h" #import "WKReactionManager.h" #import "WKReceiptManager.h" diff --git a/ios/WuKongIMSDK.framework/WuKongIMSDK b/ios/WuKongIMSDK.framework/WuKongIMSDK index ac7585b..482fc2e 100755 Binary files a/ios/WuKongIMSDK.framework/WuKongIMSDK and b/ios/WuKongIMSDK.framework/WuKongIMSDK differ diff --git a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/Info.plist b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/Info.plist index c8c5216..c38fe83 100644 Binary files a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/Info.plist and b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/Info.plist differ diff --git a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeDirectory b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeDirectory index ede68eb..b14abf2 100644 Binary files a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeDirectory and b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeDirectory differ diff --git a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeRequirements-1 b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeRequirements-1 index 33e6812..2709af8 100644 Binary files a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeRequirements-1 and b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeSignature b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeSignature index 2d2e614..6ae9cb6 100644 Binary files a/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeSignature and b/ios/WuKongIMSDK.framework/WuKongIMSDK.bundle/_CodeSignature/CodeSignature differ