mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RNTester iOS: setup Meta internal app init logic (#41591)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41591 For internal build integration, invoke Meta internal app setup logic. This has no effect in OSS. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D51498070 fbshipit-source-id: 48658d2c3136023d80fbd9a2fdc29996616e1eee
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0d715cd016
commit
c497fc61b5
@@ -23,6 +23,11 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// FB-internal imports
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
#import <RCTFBAppInit/RCTFBAppInit.h>
|
||||
#endif
|
||||
|
||||
#if BUNDLE_PATH
|
||||
NSString *kBundlePath = @"xplat/js/RKJSModules/EntryPoints/RNTesterTestBundle.js";
|
||||
#else
|
||||
@@ -33,6 +38,11 @@ NSString *kBundlePath = @"js/RNTesterApp.ios";
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
// FB-internal app init setup.
|
||||
RCTFBAppInitApplicationDidFinishLaunching(launchOptions);
|
||||
#endif
|
||||
|
||||
self.moduleName = @"RNTesterApp";
|
||||
// You can add your custom initial props in the dictionary below.
|
||||
// They will be passed down to the ViewController used by React Native.
|
||||
|
||||
Reference in New Issue
Block a user