Bug Reporting Callbacks

Covered here are callbacks that you can use to have a block of code executed when a certain action is triggered for your Flutter apps.

Before Invoking Luciq

This block is executed on the UI thread. You can use it to perform any UI changes before the SDK's UI is shown.

Dart
BugReporting.setOnInvokeCallback(Function function);

The callback is invoked on the UI thread, so it's appropriate for UI updates.

After Dismissing Luciq

This block is executed on the UI thread. You can use it to perform any UI changes after the SDK's UI has been dismissed.

Dart
BugReporting.setOnDismissCallback(Function function);

The callback is invoked on the UI thread, so it's appropriate for UI updates.

Last updated