Manual integration
Smartlook can be easily integrated into Bugsnag using IntegrationListener
:
class CustomIntegrationListener implements IntegrationListener {
@override
void onSessionReady(String? dashboardSessionUrl) {
//todo add tracking of sessions
}
@override
void onVisitorReady(String? dashboardVisitorUrl) {
bugsnag.setUser(id: dashboardVisitorUrl, email: '[email protected]', name: 'Bugs Nag');
}
}
//Put to your init state or some place you want to register this
Smartlook.registerIntegrationListener(CustomIntegrationListener());
Full Bugsnag documentation with examples can be found on the official website.