Firebase Crashlytics

Manual integration

Smartlook can be easily integrated into Crashlytics using EventHandlers:

void c_DashboardSessionUriChanged(object sender, Smartlook.Analytics.DashboardUriChangedEventArgs a)
{
  if (a.dashboardUri != null)
  {
    Crashlytics.SharedInstance.SetCustomValue(new NSString(a.dashboardUri.AbsolutePath), "Smartlook session URL");
  }
}

Smartlook.Analytics.DashboardSessionUriChanged += c_DashboardSessionUriChanged;


void c_DashboardVisitorUriChanged(object sender, Smartlook.Analytics.DashboardUriChangedEventArgs a)
{
  if (a.dashboardUri != null)
  {
    Crashlytics.SharedInstance.SetCustomValue(new NSString(a.dashboardUri.AbsolutePath), "Smartlook visitor URL");
  }
}

Smartlook.Analytics.DashboardVisitorUriChanged += c_DashboardVisitorUriChanged;

Full Firebase Crashlytics documentation can be found on the official website.