Welcome to Instabug's Documentation!
Here you'll find a comprehensive technical guide
to help you start working with the Instabug SDK efficiently.

Get Started

Event Handlers

Covered here is how to set up the event handler that fires with every new message received.

New Received Message

This block is executed each time a new message is received in the SDK. This can be used to show your own UI when a new message is received when default chat notifications are disabled.

Replies.setOnNewReplyReceivedCallback(function () {
    //Create custom alert
});

What's Next

You can set custom data, such as a user attribute, at any time, including inside event handlers. Logging user events in event handlers is possible as well.

Setting Custom Data
Report Logs

Event Handlers


Covered here is how to set up the event handler that fires with every new message received.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.