How to skip certificate validation of a unsecure url to open in react native WebView

Viewed 20

I'm trying to make a dev version of my app and I need to communicate with a server with invalid certificates and also open webviews with invalid certificates.

I've already tried almost all solutions that I found online but still unable to open webviews with invalid credentials. Otherwise, I'm now able to make requests to unsafe url's (the same as the webviews). This is the error I'm getting when I open the webview:

Error loading page Domain: NSURLErrorDomain Error Code: -1202 Description: The certificate for this server is invalid. You might be connection to a server that is pretending to be "" which could put your confidential information at risk.

I have added the url in exceptions for ios.

Expected to view the webpage in webview. Instead got Error.

0 Answers
Related