Commit 21eb9ca7 authored by Jelte Liebrand's avatar Jelte Liebrand Committed by GitHub

Make sure the correct bundle is loaded in prod

In prod (or rather when there is no package manger), the fallbackResource is used. And by default that is main.jsbundle. So ensure the thread name is passed along
parent ecd75a99
...@@ -20,7 +20,7 @@ RCT_REMAP_METHOD(startThread, ...@@ -20,7 +20,7 @@ RCT_REMAP_METHOD(startThread,
int threadId = abs(arc4random()); int threadId = abs(arc4random());
NSURL *threadURL = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:name fallbackResource:nil]; NSURL *threadURL = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:name fallbackResource:name];
NSLog(@"starting Thread %@", [threadURL absoluteString]); NSLog(@"starting Thread %@", [threadURL absoluteString]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment