markzhai
markzhai
2个问题 1. 预加载是在启动页做的吗?启动页打开登录注册后,是否会finish 2. 返回键退出应用这边有改过默认行为吗?登录注册页面 destroy 了吗?下次进来是先到的哪个activity?
Seems it's something wrong with your react code
please check your adb log with TAG `MrReactActivity` to see if it's using cached view
``` @Override protected void onDestroy() { super.onDestroy(); if (mReactRootView != null) { mReactRootView.unmountReactApplication(); mReactRootView = null; ReactPreLoader.onDestroy(getReactInfo()); } ``` // getReactNativeHost().clear(); } the view should be removed when activity destroyed,...
请贴下你的ReactActivity代码,看看你的onDestroy是否正确执行了,看上去是没有执行基类的onDestroy
@xiaozhicheng dependencies { compile "com.github.markzhai:react-native-preloader:0.32.0" } 试试看这个
@android-cjj Why don't you reply