Skip to content

Commit

Permalink
Enable Bridgeless for template (facebook#39527)
Browse files Browse the repository at this point in the history
Summary:

So that Templace is able to switch to Bridgeless

Differential Revision: D49150891
  • Loading branch information
luluwu2032 authored and facebook-github-bot committed Sep 20, 2023
1 parent 0789736 commit 2d5fff6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-native/template/ios/HelloWorld/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
return [self getBundleURL];
}

- (NSURL *)getBundleURL
{
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
Expand Down

0 comments on commit 2d5fff6

Please sign in to comment.