I'm using the below code to open an URL. Downloading a PDF from React native webview after opening on Android gives:

> 
> "invaild pdf format or corrupted"
> 
> 
> 

but it works fine on iOS.

```
<WebView
        renderToHardwareTextureAndroid={true}
        startInLoadingState={isLoading}
        renderLoading={() => {
          return <BarIndicator color="blue" />;
        }}
        mediaPlaybackRequiresUserAction={false}
        javaScriptEnabled={true}
        source={{
          uri: webviewUrl,
          headers: webviewHeaders,
        }}
        style={drawerWebviewStyles.container}
      />

```