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

Callbacks

Covered here is how to set up the event handler that fires before and after every survey is shown.

You can execute code in a handler that gets called before a survey is shown and after it has been dismissed. You can use this for things like pausing and resuming a game, for example.

Before Showing the Survey

Surveys.setOnShowCallback(Function function);

After the Survey Has Been Dismissed

Surveys.setOnDismissCallback(Function function);

Updated 12 months ago


What's Next

Do more with callbacks, like adding user attributes and events as well as additional logs.

Setting Custom Data
Report Logs

Callbacks


Covered here is how to set up the event handler that fires before and after every survey is shown.

Suggested Edits are limited on API Reference Pages

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