业务包多次切换崩溃
feige-2011 opened this issue · comments
rest commented
A,B 两个业务包反复切换,切换时重新加载了基础包,因为这样业务包就等于重新加载可以刷新业务包页面,次数多了程序会崩溃,请问有没有更好的方法能反复切换业务包?
rest commented
[[RCTBridge alloc] initWithBundleURL:jsCodeLocation
moduleProvider:nil
launchOptions:appDelegate.launchOptions];
[appDelegate.bridge.batchedBridge executeSourceCode:sourceBuz sync:NO];
多次执行加载基础包和加载业务包的方法,程序崩溃