mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix RNTester in main (#36686)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36686 After the recent changes of Metro and Metro-Config, we need to update the path used to load the bundle in RNTester ## Changelog: [General][Fixed] - Use the right path to load RNTester bundle Reviewed By: cortinico Differential Revision: D44465418 fbshipit-source-id: 96170194579792f9a5d8a141328d43e45a4db973
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6668e7bd03
commit
a881269503
@@ -160,7 +160,7 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
||||
|
||||
- (NSURL *)sourceURLForBridge:(__unused RCTBridge *)bridge
|
||||
{
|
||||
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"packages/rn-tester/js/RNTesterApp.ios"];
|
||||
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"js/RNTesterApp.ios"];
|
||||
}
|
||||
|
||||
- (void)initializeFlipper:(UIApplication *)application
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ public class RNTesterApplication extends Application implements ReactApplication
|
||||
new DefaultReactNativeHost(this) {
|
||||
@Override
|
||||
public String getJSMainModuleName() {
|
||||
return "packages/rn-tester/js/RNTesterApp.android";
|
||||
return "js/RNTesterApp.android";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user