Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Uri uriResult;
- if (Uri.TryCreate(url, UriKind.Absolute, out uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps) && webviews_manager.ProductWebviewIsValid)
- {
- print("Url is valid. Showing product webview");
- webview.Show();
- }
- else
- {
- MobileNativeMessage msg = new MobileNativeMessage("Errore 77", "Pagina richiesta non disponibile");
- throw new InvalidProductURLException(url);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement