feat: 自定义插件的更新
This commit is contained in:
13
Libs/OpenIMUniPlugin.framework/Headers/CallbackProxy.h
Executable file
13
Libs/OpenIMUniPlugin.framework/Headers/CallbackProxy.h
Executable file
@@ -0,0 +1,13 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DCUniModule.h"
|
||||
@import OpenIMCore;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface CallbackProxy : NSObject <Open_im_sdk_callbackBase>
|
||||
|
||||
- (id)initWithCallback:(UniModuleKeepAliveCallback)callback;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
23
Libs/OpenIMUniPlugin.framework/Headers/OpenIMModule.h
Executable file
23
Libs/OpenIMUniPlugin.framework/Headers/OpenIMModule.h
Executable file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// OpenIMUniPlugin.h
|
||||
// OpenIMUniPlugin
|
||||
//
|
||||
// Created by blooming on 2022/12/13.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DCUniModule.h"
|
||||
#import "CallbackProxy.h"
|
||||
@import OpenIMCore;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface OpenIMModule : DCUniModule <Open_im_sdk_callbackOnConnListener,Open_im_sdk_callbackOnUserListener, Open_im_sdk_callbackOnAdvancedMsgListener, Open_im_sdk_callbackOnFriendshipListener, Open_im_sdk_callbackOnConversationListener, Open_im_sdk_callbackOnGroupListener,Open_im_sdk_callbackOnBatchMsgListener,Open_im_sdk_callbackOnCustomBusinessListener>
|
||||
|
||||
@property (nonatomic, readwrite) BOOL initFlag;
|
||||
|
||||
- (void)pushEvent:(NSString *) eventName msg:(nullable id) msg;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
20
Libs/OpenIMUniPlugin.framework/Headers/OpenIMUniPlugin-umbrella.h
Executable file
20
Libs/OpenIMUniPlugin.framework/Headers/OpenIMUniPlugin-umbrella.h
Executable file
@@ -0,0 +1,20 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#import "CallbackProxy.h"
|
||||
#import "OpenIMModule.h"
|
||||
#import "SendMessageCallbackProxy.h"
|
||||
#import "UploadFileCallbackProxy.h"
|
||||
|
||||
FOUNDATION_EXPORT double OpenIMUniPluginVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char OpenIMUniPluginVersionString[];
|
||||
|
||||
21
Libs/OpenIMUniPlugin.framework/Headers/SendMessageCallbackProxy.h
Executable file
21
Libs/OpenIMUniPlugin.framework/Headers/SendMessageCallbackProxy.h
Executable file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// SendMessageCallbackProxy.h
|
||||
// OpenIMUniPlugin
|
||||
//
|
||||
// Created by Snow on 2021/6/24.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DCUniModule.h"
|
||||
#import "OpenIMModule.h"
|
||||
@import OpenIMCore;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SendMessageCallbackProxy : NSObject <Open_im_sdk_callbackSendMsgCallBack,Open_im_sdk_callbackBase>
|
||||
|
||||
- (id)initWithMessage:(NSDictionary *)message module:(OpenIMModule *)module callback:(UniModuleKeepAliveCallback)callback;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
BIN
Libs/OpenIMUniPlugin.framework/Info.plist
Normal file
BIN
Libs/OpenIMUniPlugin.framework/Info.plist
Normal file
Binary file not shown.
6
Libs/OpenIMUniPlugin.framework/Modules/module.modulemap
Normal file
6
Libs/OpenIMUniPlugin.framework/Modules/module.modulemap
Normal file
@@ -0,0 +1,6 @@
|
||||
framework module OpenIMUniPlugin {
|
||||
umbrella header "OpenIMUniPlugin-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
BIN
Libs/OpenIMUniPlugin.framework/OpenIMUniPlugin
Normal file
BIN
Libs/OpenIMUniPlugin.framework/OpenIMUniPlugin
Normal file
Binary file not shown.
Reference in New Issue
Block a user