private void ActionTagTapped(object sender, Forms9Patch.ActionTagEventArgs e) { var href = e.Href; if (Device.RuntimePlatform == Device.UWP && href.StartsWith("tel:", StringComparison.Ordinal)) { href = href.Replace("tel:", "callto:"); } var uri = new Uri(href); Xamarin.Essentials.Launcher.OpenAsync(uri); }
private void URLTagged(object sender, Forms9Patch.ActionTagEventArgs e) { throw new System.NotImplementedException($"Id {e.Id}, Href: {e.Href}"); }