public override void CrashesDidSucceedSendingErrorReport(MSCrashes crashes, MSErrorReport msReport) { if (_owner.SentErrorReport != null) { var report = ErrorReportCache.GetErrorReport(msReport); var e = new SentErrorReportEventArgs(); e.Report = report; _owner.SentErrorReport(null, e); } }
public void SentErrorReport(object sender, SentErrorReportEventArgs e) { Device.BeginInvokeOnMainThread(() => { if (SentErrorReportLabel != null) { SentErrorReportLabel.Text = TestStrings.DidSentErrorReportText; } }); }
public void OnSendingSucceeded(AndroidErrorReport androidReport) { if (_owner.SentErrorReport == null) { return; } var report = ErrorReportCache.GetErrorReport(androidReport); var e = new SentErrorReportEventArgs(); e.Report = report; _owner.SentErrorReport(null, e); }
public override void CrashesDidSucceedSendingErrorReport(iOSCrashes crashes, MSACErrorReport msReport) { if (SentErrorReport != null) { var report = new ErrorReport(msReport); var e = new SentErrorReportEventArgs { Report = report }; SentErrorReport(null, e); } }
static void SentErrorReportHandler(object sender, SentErrorReportEventArgs e) { MobileCenterLog.Info(LogTag, "Sent error report"); var report = e.Report; //test some values if (report.Exception != null) { MobileCenterLog.Info(LogTag, report.Exception.ToString()); } else { MobileCenterLog.Info(LogTag, "No system exception was found"); } if (report.AndroidDetails != null) { MobileCenterLog.Info(LogTag, report.AndroidDetails.ThreadName); } }
private void SentErrorReportHandler(object sender, SentErrorReportEventArgs e) { AppCenterLog.Info(LogTag, "Sent error report"); var args = e as SentErrorReportEventArgs; ErrorReport report = args.Report; string AccountsJson = Newtonsoft.Json.JsonConvert.SerializeObject(Settings.Person.Accounts); //test some values if (report.Exception != null) { AppCenterLog.Info(LogTag, report.Exception.ToString()); } else { AppCenterLog.Info(LogTag, "No system exception was found"); } if (report.AndroidDetails != null) { AppCenterLog.Info(LogTag, report.AndroidDetails.ThreadName); } }
static void SentErrorReportHandler(object sender, SentErrorReportEventArgs e) { AppCenterLog.Info(LogTag, "Sent error report"); }
private void Crashes_SentErrorReport(object sender, SentErrorReportEventArgs e) { Analytics.TrackEvent($"Crashes_SentErrorReport at {DateTime.Now.ToLongTimeString()}"); }
private void Crashes_SentErrorReport(object sender, SentErrorReportEventArgs e) { Microsoft.AppCenter.Analytics.Analytics.TrackEvent($"Crashes_SentErrorReport Count = { counter.ToString() } at {DateTime.Now.ToLongTimeString()}"); App.counter++; }