1<WebView
2 originWhitelist={['*']}
3 scrollEnabled={false}
4 onMessage={onMessage}
5 onNavigationStateChange={navigationChanged}
6injectedJavaScript="window.ReactNativeWebView.postMessage(Math.max(document.body.offsetHeight, document.body.scrollHeight));"
7source={{html: htmlCode}}
8 />
9