Skip to content

Commit

Permalink
优化Nativehost多bundle加载@
Browse files Browse the repository at this point in the history
  • Loading branch information
smartzhao committed Apr 18, 2018
1 parent 4486bdb commit 10196dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public void onCreate() {

if (bundleAssetName != null && !needsOverlayPermission) {
// 1.从缓存中获取RootView
mReactRootView = ReactNativePreLoader.getReactRootView(bundleAssetName);
// mReactRootView = ReactNativePreLoader.getReactRootView(bundleAssetName);
mReactRootView =createRootView();


if (mMainComponentName != null && !needsOverlayPermission) {
Expand Down

0 comments on commit 10196dc

Please sign in to comment.