mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable Bridgeless for template (#39527)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39527 So that Templace is able to switch to Bridgeless Reviewed By: fkgozali Differential Revision: D49150891 fbshipit-source-id: 782a6ffc4f8b21c0106458f6f16043df65ccd183
This commit is contained in:
committed by
Facebook GitHub Bot
parent
780567c727
commit
72bf2e87e2
@@ -15,6 +15,11 @@
|
||||
}
|
||||
|
||||
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
||||
{
|
||||
return [self getBundleURL];
|
||||
}
|
||||
|
||||
- (NSURL *)getBundleURL
|
||||
{
|
||||
#if DEBUG
|
||||
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
|
||||
|
||||
Reference in New Issue
Block a user