Skip to content

Commit

Permalink
fix: RCTAppDelegate::bundleURL not implemented (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSRS authored Dec 12, 2024
1 parent e4f8562 commit 0f05bfc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification
}

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

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

0 comments on commit 0f05bfc

Please sign in to comment.