Skip to content

Commit

Permalink
comment out RCT_NEW_ARCH_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Mar 13, 2023
1 parent c06a78e commit 0662429
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions ios/StatusIm/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,24 @@
#import <Security/Security.h>
// adding this for v0.68.x
#import <React/RCTAppSetupUtils.h>
#if RCT_NEW_ARCH_ENABLED
#import <React/CoreModulesPlugins.h>
#import <React/RCTCxxBridgeDelegate.h>
#import <React/RCTFabricSurfaceHostingProxyRootView.h>
#import <React/RCTSurfacePresenter.h>
#import <React/RCTSurfacePresenterBridgeAdapter.h>
#import <ReactCommon/RCTTurboModuleManager.h>
#import <react/config/ReactNativeConfig.h>
@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {
RCTTurboModuleManager *_turboModuleManager;
RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
std::shared_ptr<const facebook::react::ReactNativeConfig> _reactNativeConfig;
facebook::react::ContextContainer::Shared _contextContainer;
}
@end
#endif

//TODO: uncomment below code when new-architecture is enabled.
//#if RCT_NEW_ARCH_ENABLED
//#import <React/CoreModulesPlugins.h>
//#import <React/RCTCxxBridgeDelegate.h>
//#import <React/RCTFabricSurfaceHostingProxyRootView.h>
//#import <React/RCTSurfacePresenter.h>
//#import <React/RCTSurfacePresenterBridgeAdapter.h>
//#import <ReactCommon/RCTTurboModuleManager.h>
//#import <react/config/ReactNativeConfig.h>
//@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {
// RCTTurboModuleManager *_turboModuleManager;
// RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
// std::shared_ptr<const facebook::react::ReactNativeConfig> _reactNativeConfig;
// facebook::react::ContextContainer::Shared _contextContainer;
// }
//@end
//#endif



Expand Down

0 comments on commit 0662429

Please sign in to comment.