0

I am trying to load a secured https URL in react native Webview but its showing blank white screen and not throwing any error in console as well. Plus on the same Page, I am able to load all other https URLs like https://www.facebook.com/, https://www.google.com/.

I am using:

"react-native": "0.59.4"
<WebView 
  source={{ uri: 'https://example.com/login?user=xxxxxxxxxx&pass=xxxxxx'}}
  scalesPageToFit={true}
  style={{ height: 500, width: 500}}
  javaScriptEnabled={true}
  domStorageEnabled={true}
  startInLoadingState={true}
  ignoreSslError={true}
  onError={(err) => console.log('error', err)}
/>

It should load the webpage like in the browser.

Prashant Pimpale
  • 10,349
  • 9
  • 44
  • 84
Tejaswita
  • 1
  • 1
  • 4

0 Answers0