Fix UIExplorer entry file on iOS
Summary: Files were moved to the js/ directory so UIExplorer did not work anymore on iOS, this fixes the path. Closes https://github.com/facebook/react-native/pull/8841 Differential Revision: D3576752 fbshipit-source-id: 921ddc2e158ee0c74dcf691a32504900c5d79e1d
This commit is contained in:
parent
abe9f5188a
commit
df8c88e000
|
@ -52,7 +52,7 @@
|
|||
|
||||
- (NSURL *)sourceURLForBridge:(__unused RCTBridge *)bridge
|
||||
{
|
||||
NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"Examples/UIExplorer/UIExplorerApp.ios" fallbackResource:nil];
|
||||
NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"Examples/UIExplorer/js/UIExplorerApp.ios" fallbackResource:nil];
|
||||
|
||||
if (!getenv("CI_USE_PACKAGER")) {
|
||||
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
|
||||
|
|
Loading…
Reference in New Issue