public static void AddURLToBlackList(string url) { if (!URLBlackList.Contains(url)) { URLBlackList.Add(url); } Mint.AddURLToBlackListInternal(url); }
private static void LogUnobservedUnawaitedException(System.Exception exception) { if ((HandleUnobservedException != null && HandleUnobservedException(exception)) || HandleUnobservedException == null) { System.Diagnostics.Debug.WriteLine("LogUnobservedUnawaitedExceptionAsync invoked"); Mint.XamarinException(exception.ToJavaException(), false, null); OnUnhandledExceptionHandled(exception, "System.Exception"); } }
public static void InitAndStartXamarinSession(Android.Content.Context context, string apiKey) { Mint.AddExtraData("XamarinSDKVersion", "4.4.0"); XamarinExceptionHandler.InitXamarinExceptionHandler(); Mint.InitAndStartSession(context, apiKey); }
public void UncaughtException(Java.Lang.Thread thread, Throwable ex) { Mint.XamarinException(ex.ToJavaException(), false, null); LastBreath(); UncaughtExceptionHandled(null, ex); }
static void CurrentDomainUnhandledHandler(object sender, UnhandledExceptionEventArgs e) { Mint.XamarinException((e.ExceptionObject as System.Exception).ToJavaException(), false, null); LastBreath(); OnUnhandledExceptionHandled(e.ExceptionObject, "System.Exception"); }
static void HandleUnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e) { Mint.XamarinException(e.Exception.ToJavaException(), false, null); LastBreath(); OnUnhandledExceptionHandled(e.Exception, "System.Exception"); }