Skip to main content

Crash Reporter Plugin Setup

You don't have to instantiate the Crash Reporter plugin in your app in order to use its basic functionality.

You can use the Crash Reporter plugin to send notifications for exceptions that are suppressed in your Android application. You could even use it to send notifications when the Litho Error Boundary is triggered.

In order to send custom notifications, take the steps detailed below.


  1. Instantiate and add the plugin in FlipperClient.
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;

  1. Use the following API to trigger your custom crash notification.
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;

CrashReporterPlugin.getInstance().sendExceptionMessage(Thread.currentThread(), error);