Skip to content

Commit d7d7b51

Browse files
Fix app delegate metro config (#14359)
1 parent 2e77a41 commit d7d7b51

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/mobile/ios/AudiusReactNative/AppDelegate.mm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
7272
- (NSURL *)bundleURL
7373
{
7474
#if DEBUG
75-
// React Native 0.77 - explicitly set Metro URL
76-
NSURL *url = [NSURL URLWithString:@"http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false"];
77-
NSLog(@"[AppDelegate] DEBUG mode - Using Metro URL: %@", url);
78-
return url;
75+
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
7976
#else
8077
return [CodePush bundleURL];
8178
#endif

0 commit comments

Comments
 (0)