react-native-webview-invoke 可用来让React Native和WebView中的函数可以互相调用。 react-native-webview-bridge支持 例如: // Side Aconstanswer=awaitask(question)// Side Bfunctionask(question){return'I don\'t know'} 当然,在这样使用之前,
After comparing changes between different versions ofcom.reactnativecommunity.webview.RNCWebViewManager#shouldOverrideUrlLoading(), I found that it should be related to the synchronous invoking code logic (from the PR:#1479). By debugging line by line, it should belockObject.wait(SHOULD_OVERRIDE_...