/// <summary> /// Adds a domain to the SSL checking white list. /// If you are trying to access a web site with untrusted or expired certification, /// the web view will prevent its loading. If you could confirm that this site is trusted, /// you can add the domain as an SSL exception, so you could visit it. /// </summary> /// <param name="domain">The domain to add. It should not contain any scheme or path part in url.</param> public void AddSslExceptionDomain(string domain) { if (domain == null) { UniWebViewLogger.Instance.Critical("The domain should not be null."); return; } if (domain.Contains("://")) { UniWebViewLogger.Instance.Critical("The domain should not include invalid characters '://'"); return; } UniWebViewInterface.AddSslExceptionDomain(listener.Name, domain); }