Open therealgilles opened 2 years ago
Here is a possible fix in ThreadManager.m but probably not the best one:
//NSURL *threadURL = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:name fallbackResource:name];
NSURL *threadURL = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:name fallbackURLProvider:^NSURL * {
return [[NSBundle mainBundle] URLForResource:name withExtension:@"jsbundle"];
}];
Can confirm this fixes things for RN 68. I had tried another suggestion of simply removing the fallbackResource
param, but that used the wrong bundle for the thread.
I believe this change broke using the correct thread bundle in iOS release mode with react-native 0.68.1, and instead using the main bundle:
Anyone has a suggestion for a fix?