We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e77a41 commit d7d7b51Copy full SHA for d7d7b51
1 file changed
packages/mobile/ios/AudiusReactNative/AppDelegate.mm
@@ -72,10 +72,7 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
72
- (NSURL *)bundleURL
73
{
74
#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;
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
79
#else
80
return [CodePush bundleURL];
81
#endif
0 commit comments