Skip to content

Commit

Permalink
Fix bundleURL
Browse files Browse the repository at this point in the history
  • Loading branch information
shirakaba committed Oct 30, 2024
1 parent c7ba66d commit a691178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/macos/RNSACExample-macOS/AppDelegate.mm
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 a691178

Please sign in to comment.