1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 #import <React/RCTBridgeModule.h>
4 
5 #import <ExpoModulesCore/EXInternalModule.h>
6 #import <ExpoModulesCore/EXModuleRegistry.h>
7 
8 // RCTBridgeModule capable of receiving method calls from JS and forwarding them
9 // to proper exported universal modules. Also, it exports important constants to JS, like
10 // properties of exported methods and modules' constants.
11 
12 // Swift compatibility headers (e.g. `ExpoModulesCore-Swift.h`) are not available in headers,
13 // so we use class forward declaration here. Swift header must be imported in the `.m` file.
14 @class SwiftInteropBridge;
15 
16 NS_SWIFT_NAME(NativeModulesProxy)
17 @interface EXNativeModulesProxy : NSObject <RCTBridgeModule>
18 
19 @property (nonatomic, strong) SwiftInteropBridge *swiftInteropBridge;
20 
21 - (nonnull instancetype)init;
22 - (nonnull instancetype)initWithModuleRegistry:(nullable EXModuleRegistry *)moduleRegistry;
23 
24 @end
25