Bugsnag

Integration

Smartlook can be easily integrated into Bugsnag:

val errorCallback = OnErrorCallback { event ->
    event.addMetadata("Smartlook", "Smartlook session dashboard URL", Smartlook.instance.user.session.urlWithTimestamp)
    true //report this error
}

Bugsnag.addOnError(errorCallback)
OnErrorCallback errorCallback = event -> {
    event.addMetadata("Smartlook", "Smartlook session dashboard URL", Smartlook.getInstance().getUser().getSession().getUrlWithTimestamp());
    return true;
};

Bugsnag.addOnError(errorCallback);

Full Bugsnag documentation with examples can be found on the official website.