public void LoadUrl(string url) { try { HybirdView.LoadUrl(url); } catch (Exception e) { Crashes.TrackError(e); } }
public void EvaluateJavascript(string name) { try { if (Build.VERSION.SdkInt >= BuildVersionCodes.Kitkat) { HybirdView.EvaluateJavascript(name, JavascriptCallback); } else { HybirdView.LoadUrl(name); } } catch (Exception e) { Crashes.TrackError(e); } }