question

Sumiran Pradhan avatar image
Sumiran Pradhan asked

How to allow in a debug build any HTTPS certificate for a webview

For internal development purposes we have been using our own test servers. Obviously, these dont have proper security certificates associated with them. For the webviews in our activities we embed URLs depending on different stages of the release. So basically, the question is what needs to be done differently to allow any a URL (Fire phone is VPN connected) in a webview that has a bad VPN certificate for a debug build. Is the request formatting different?
web apps
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sumiran Pradhan avatar image
Sumiran Pradhan answered
Okay found it. Overriding onReceivedSslError; works.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.