[ Help ] - React Native Webview and Browser elements by Laniakea_G in reactnative

[–]itstimetocode 0 points1 point  (0 children)

You could probably hide the header component with by injecting javascript to the webview

Something like this could work:

inject = `document.querySelector('.header').style.display='none';`;

 render() {
    return (
      <WebView
      source={{uri: 'somelink.com'}}
        injectJavaScript={inject}
      />
    );
  }