/// <summary> /// Shows the safe browsing content above current screen. /// </summary> public void Show() { if (UniWebViewHelper.IsEditor) { Application.OpenURL(url); } else { UniWebViewInterface.SafeBrowsingShow(listener.Name); } }
/// <summary> /// Shows the safe browsing content above current screen. /// </summary> public void Show() { if (UniWebViewSafeBrowsing.IsSafeBrowsingSupported) { UniWebViewInterface.SafeBrowsingShow(listener.Name); } else { if (!UniWebViewHelper.IsEditor) { UniWebViewLogger.Instance.Critical(@"UniWebViewSafeBrowsing.Show is called but the current device does not support Safe Browsing. This might be due to Chrome or any other processing app is not installed, or the manifest file not configured correctly. Check SafeBrowsing Mode guide for more: https://docs.uniwebview.com/guide/safe-browsing.html"); } Application.OpenURL(url); } }