React native hot updates always report mistakes. Ask for advice.

  jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.bundle?platform=ios&dev=true"];

the above code is normal in time, but an error is reported in a non-debug environment, that is,

jsCodeLocation = [CodePush bundleURL];

cause of error

clipboard.png

clipboard.png

is there under the guidance of a great god? I haven"t understood what it means for 2 days

Mar.02,2021
Menu