Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

业务包多次切换崩溃 #81

Open
feige-2011 opened this issue May 9, 2020 · 1 comment
Open

业务包多次切换崩溃 #81

feige-2011 opened this issue May 9, 2020 · 1 comment

Comments

@feige-2011
Copy link

A,B 两个业务包反复切换,切换时重新加载了基础包,因为这样业务包就等于重新加载可以刷新业务包页面,次数多了程序会崩溃,请问有没有更好的方法能反复切换业务包?

@feige-2011
Copy link
Author

[[RCTBridge alloc] initWithBundleURL:jsCodeLocation
moduleProvider:nil
launchOptions:appDelegate.launchOptions];
[appDelegate.bridge.batchedBridge executeSourceCode:sourceBuz sync:NO];
多次执行加载基础包和加载业务包的方法,程序崩溃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant