public static void CheckUpdate(Activity activity) { try { BuglyAgentHelper.CheckUpgrade(); } catch (System.Exception ex) { PostException(ex); } }
public static void PostException(object obj) { try { BuglyAgentHelper.PostCatchedException(new Java.Lang.Throwable(JsonConvert.SerializeObject(obj, Formatting.None, new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore }))); } catch (System.Exception ex) { PostException(ex); } }
public static void PostException(System.Exception ex) => BuglyAgentHelper.PostCatchedException(new Java.Lang.Throwable(ex.ToString()));