解决方法:(原理不明)
setTimeout(() => {
codePush.restartApp(true)
}, 300);
详见:https://github.com/microsoft/react-native-code-push/issues/1684
解决方法:(原理不明)
setTimeout(() => {
codePush.restartApp(true)
}, 300);
详见:https://github.com/microsoft/react-native-code-push/issues/1684
本文标题:RN - 执行codePush.restartApp(true)
本文链接:https://www.haomeiwen.com/subject/wxysictx.html
网友评论