Feedback

Bugsee implements built in single threaded messenger to allow your users to communicate with your support and developers.

Feedback activity

To start feedback activity from within your application:

!Java

// context parameter should be either Application or Activity
Bugsee.showFeedbackActivity(context);

!Kotlin

// context parameter should be either Application or Activity
Bugsee.showFeedbackActivity(context)

Notifications

To receive notifications about new messages arriving from the server, set OnNewFeedbackListener instance to Bugsee:

!Java

Bugsee.setOnNewFeedbackListener(new OnNewFeedbackListener() {
    @Override
    public void onNewFeedback(List<String> newMessages) {
        // Handle received messages.
    }
});

!Kotlin

Bugsee.setOnNewFeedbackListener { newMessages ->
    // Handle received messages.
}

Default greeting

Default greeting can be set on the server in your application settings. However, for the cases when network is not available, you can set default greeting on the client as well:

!Java

Bugsee.setDefaultFeedbackGreeting("Hi! How can we help?");

!Kotlin

Bugsee.setDefaultFeedbackGreeting("Hi! How can we help?")