Skip to content

Commit 7b1fac0

Browse files
authored
Fix build on real device (#3507)
1 parent 3df03ca commit 7b1fac0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

demo.js renamed to index.js

File renamed without changes.

ios/rnuilib/AppDelegate.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
2727
- (NSURL *)getBundleURL
2828
{
2929
#if DEBUG
30-
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"demo"];
30+
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
3131
#else
3232
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
3333
#endif

0 commit comments

Comments
 (0)