Closed phantrungviet98 closed 7 months ago
i just found that when i download the bundle using staging key it works, but production key it doesn't
I am also facing the same error.
i tried to set Mandatory for the bundle, it works after the app reload automatically but after reopen the app next time, the bundle is gone. i guess it is not saved correctly ?
anyone have solution on this :(
@djindal61 @RuFang-21
from my side just because we forgot to return [CodePush bundleURL];
full code there `- (NSURL )sourceURLForBridge:(RCTBridge )bridge
{
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
return [CodePush bundleURL];
}`
pls check this i had this issue which was solved. https://github.com/microsoft/react-native-code-push/issues/2529#issuecomment-1968788585
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
Expected Behavior
Actual Behavior
codePush.getUpdateMetadata() return expected installed bundle but it doesn't apply
Reproducible Demo
Examples
folder runnode create-app.js appName react-native@0.61.5 react-native-code-push@6.0.0
command to generate plain CodePushified React Native app. Please see description on top ofcreate-app.js
file content if neededEnvironment
(The more info the faster we will be able to address it!)