Is it possible to use service worker with self-signed certificates?
I know that it is possible on the desktop using the flag --unsafely-treat-insecure-origin-as-secure=
at the start (https://stackoverflow.com/a/43484456).
But how can I achieve this on Android WebView
?
I've already created a custom WebViewClient
to skip all the SSL errors:
@Override
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
handler.proceed();
}
but this does not seem to help here.