title: react-native-webview getItem() from localStorage
body: <p>in my react-native app I use a webview via react-native-webview. In this, I need to get an item from the localStorage. I tried it with injectedJavaScript={myInjectedJs}, but I don't get anything back.</p>
  <p>What am I doing wrong?</p>
  <p><strong>Tab.tsx</strong></p>
  <pre><code>export default function TabEnergy({navigation} : {navigation: any}) {
  
    return &lt;WebView 
    source={{ uri: DevUrls.BASE_URL_DEV }} 
    javaScriptEnabled={true}
    domStorageEnabled={true}
    injectedJavaScript={myInjectedJs}
    /&gt;;
  }
  
  let myInjectedJs = `(function(){
    ${`console.log('**', window.localStorage.getItem('authenticationObject')) `}
  })();`
  </code></pre>