title: React Native - Set localStorage in WebView
body: <p>I would like to set localStorage in the WebView component before loading the page.</p>
  
  <p><a href="https://facebook.github.io/react-native/docs/webview" rel="noreferrer">https://facebook.github.io/react-native/docs/webview</a></p>
  
  <p>My use case for this is that my RN app would like to open a page on it's accompanying website. The website authenticates on load by checking for a token in localStorage. If the token isn't there they will be prompted to login. Seen as the user has already logged in on the app I would prefer it if they could avoid logging in again in the WebView.</p>