title: localStorage value set from inAppBrowser not showing outside - cordova
body: <p>I'm setting up localStorage from inAppBrowser view. Suppose inside the inAppBrowser view I've set</p>
  
  <pre><code>localStorage.setItem("page","10");
  </code></pre>
  
  <p>Inside inAppBrowser I want to check if the value is set , so I checked with</p>
  
  <pre><code>alert(localStorage.getItem("page"));
  </code></pre>
  
  <p>It's showing 10. Now I closed the inAppBrowser view and back to my main view. Then again I am giving</p>
  
  <pre><code> alert(localStorage.getItem("page"));
  </code></pre>
  
  <p>to check the value in exit event listener. It's showing null or different past value but not 10. Can you please tell me what's wrong?????????</p>
  
  <p>I've also tried with <code>window.localStorage.setItem("page","10");</code></p>
  
  <p>Basically I wanted to get a value from the inAppBrowser view. I tried the <code>setInterval and executeScript</code> example, but there is a problem in that example. When you do some heavy work inside inAppBrowser that consumes lot of memory, previous activity/webpage gets killed or hanged. Thus that is not efficient. Is there any simple way to work with localStorage and inAppBrowser OR to get get a value from inAppBrowser to main page?</p>