iosShouldAllowDeprecatedTLS method

Future<IOSShouldAllowDeprecatedTLSAction?>? iosShouldAllowDeprecatedTLS(
  1. URLAuthenticationChallenge challenge
)

Called when a web view asks whether to continue with a connection that uses a deprecated version of TLS (v1.0 and v1.1).

challenge represents the authentication challenge.

NOTE: available only on iOS 14.0+.

Official iOS API: https://developer.apple.com/documentation/webkit/wknavigationdelegate/3601237-webview

Implementation

Future<IOSShouldAllowDeprecatedTLSAction?>? iosShouldAllowDeprecatedTLS(
    URLAuthenticationChallenge challenge) {
  return null;
}