Skip to content

Commit d2413d2

Browse files
committed
fix: add StreamChatReactNative module for ios
1 parent eb8316e commit d2413d2

File tree

9 files changed

+120
-118
lines changed

9 files changed

+120
-118
lines changed

package/native-package/ios/ImageResizer.h

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#ifdef RCT_NEW_ARCH_ENABLED
2+
#import "StreamChatReactNativeSpec.h"
3+
#else
4+
#import <React/RCTBridgeModule.h>
5+
#endif
6+
7+
#ifdef RCT_NEW_ARCH_ENABLED
8+
@interface StreamChatReactNative : NSObject <NativeStreamChatReactNativeSpec>
9+
#else
10+
@interface StreamChatReactNative : NSObject <RCTBridgeModule>
11+
#endif
12+
13+
@end

0 commit comments

Comments
 (0)