public static void AddURLToBlackList(string url)
 {
     if (!URLBlackList.Contains(url))
     {
         URLBlackList.Add(url);
     }
     Mint.AddURLToBlackListInternal(url);
 }
Exemple #2
0
 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");
     }
 }
Exemple #3
0
 public static void InitAndStartXamarinSession(Android.Content.Context context, string apiKey)
 {
     Mint.AddExtraData("XamarinSDKVersion", "4.4.0");
     XamarinExceptionHandler.InitXamarinExceptionHandler();
     Mint.InitAndStartSession(context, apiKey);
 }
Exemple #4
0
 public void UncaughtException(Java.Lang.Thread thread, Throwable ex)
 {
     Mint.XamarinException(ex.ToJavaException(), false, null);
     LastBreath();
     UncaughtExceptionHandled(null, ex);
 }
Exemple #5
0
 static void CurrentDomainUnhandledHandler(object sender, UnhandledExceptionEventArgs e)
 {
     Mint.XamarinException((e.ExceptionObject as System.Exception).ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.ExceptionObject, "System.Exception");
 }
Exemple #6
0
 static void HandleUnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
 {
     Mint.XamarinException(e.Exception.ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.Exception, "System.Exception");
 }