We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 6 devices are having issues with websites that use the Let's Encrypt certificate authority, so SteamTrades.com is affected.
The app is showing a blank page, while Chrome reports an ERR_CERT_AUTHORITY_INVALID.
The text was updated successfully, but these errors were encountered:
This explains the cause of the issue in more detail:
https://community.letsencrypt.org/t/err-cert-authority-invalid-since-a-few-days-on-android-6/214469
One workaround is to bypass SSL certificate checks on Android versions 7.0 and older. Something like:
diff --git a/lib/background.dart b/lib/background.dart index 1064223..5fae856 100644 --- a/lib/background.dart +++ b/lib/background.dart @@ -34,6 +34,10 @@ void callbackDispatcher() { initialSettings: InAppWebViewSettings( useShouldInterceptRequest: true, ), + onReceivedServerTrustAuthRequest: (controller, challenge) async { + return ServerTrustAuthResponse( + action: ServerTrustAuthResponseAction.PROCEED); + }, shouldInterceptRequest: (controller, request) async { if (blockedDomains .any((domain) => request.url.host.contains(domain))) { diff --git a/lib/homepage.dart b/lib/homepage.dart index 1cf0bb1..6b8f3df 100644 --- a/lib/homepage.dart +++ b/lib/homepage.dart @@ -216,6 +216,11 @@ class _HomePageState extends State<HomePage> { return null; } }, + onReceivedServerTrustAuthRequest: + (controller, challenge) async { + return ServerTrustAuthResponse( + action: ServerTrustAuthResponseAction.PROCEED); + }, onPermissionRequest: (controller, request) async { return PermissionResponse( resources: request.resources,
But there should be a safer way around it.
Sorry, something went wrong.
No branches or pull requests
Android 6 devices are having issues with websites that use the Let's Encrypt certificate authority, so SteamTrades.com is affected.
The app is showing a blank page, while Chrome reports an ERR_CERT_AUTHORITY_INVALID.
The text was updated successfully, but these errors were encountered: