title: How to communcation between web inside webview back to react native apps
body: <p>I'm new in React Native.</p>
  
  <p>I need to create communication between RN - Web - RN (RN to Web and then Web back to RN). </p>
  
  <p>Assume i have list of item inside my web that called inside a webview. Each item inside list can be tapped/clicked. When i click one of item inside item list inside my web, i will redirect it to React Native apps page and show detail of realted item.</p>
  
  <p>What i have done until now :
  I can inject Javascript from React Native to Webview like this :</p>
  
  <pre><code>&lt;WebView
    source={{uri: "myweb.com/webview.php"}}
    injectedJavaScript={jsCode}
    javaScriptEnabledAndroid={true}
    style={{height: 100}} /&gt;
  </code></pre>
  
  <p>That code can open communication between React Native <strong>to</strong> Webpage inside webview, but i still fail to communication from Web inside webview <strong>to</strong> React Native. Can anyone explain, how to do it (and is it possible?)?</p>