/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import #import #import #ifdef __cplusplus #if RCT_NEW_ARCH_ENABLED #ifndef RCT_USE_HERMES #if __has_include() #define RCT_USE_HERMES 1 #else #define RCT_USE_HERMES 0 #endif #endif #if RCT_USE_HERMES #import #else #import #endif #import #endif #if RCT_NEW_ARCH_ENABLED RCT_EXTERN id RCTAppSetupDefaultModuleFromClass(Class moduleClass); std::unique_ptr RCTAppSetupDefaultJsExecutorFactory( RCTBridge *bridge, RCTTurboModuleManager *turboModuleManager); #endif #endif // __cplusplus RCT_EXTERN_C_BEGIN void RCTAppSetupPrepareApp(UIApplication *application); UIView *RCTAppSetupDefaultRootView(RCTBridge *bridge, NSString *moduleName, NSDictionary *initialProperties); RCT_EXTERN_C_END