Answers for "react native communicate with webview"

0

react native communicate with webview

<WebView
    source={{uri: "myweb.com/webview.php"}}
    injectedJavaScript={injectedJs}
    startInLoadingState
    javaScriptEnabledAndroid={true}
    javaScriptEnabled={true}
    onMessage={event => {
      alert('MESSAGE >>>>' + event.nativeEvent.data);
    }}
/>
Posted by: Guest on October-16-2021

Code answers related to "react native communicate with webview"

Code answers related to "Javascript"

Browse Popular Code Answers by Language