Files
flipper/docs/crash-reporter-plugin.md
Nathan Schneider a0d33a99e5 Updated crash-reporter-plugin.md (#371)
Summary:
Fixed a spelling error in line 6.
Pull Request resolved: https://github.com/facebook/flipper/pull/371

Reviewed By: passy

Differential Revision: D14064606

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 51535362477712500c3138d1e7a688cdda8e3793
2019-02-13 07:51:49 -08:00

1.4 KiB

id, title
id title
crash-reporter-plugin Crash Reporter Plugin

The Crash Reporter Plugin shows a notification in Flipper whenever an app crashes. You can click on the notification to see crash information like stacktrace and other metadata. For Android, you can also use the "Open in Logs" action to find the relevant point in the logs view, so that it is easy to investigate what had happened before the crash.

Since this is an alpha release, it doesn't fire notification on all kind of crashes. It fires notifications on uncaught exceptions for both Android and iOS applications, whereas it fires crash notification for signal errors just for iOS and currently not for Android. We are still working on it, but do try out this plugin. Feedback and issues are welcome!

The plugin looks like the following

UI

Notification

Setup

iOS

Add crash reporter plugin to the client.

Objective-C

#import <FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h>

[client addPlugin:[FlipperKitCrashReporterPlugin sharedInstance]];

Swift

import FlipperKit

client?.add(FlipperKitCrashReporterPlugin.sharedInstance());

Android

Add crash reporter plugin to the client.

import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;

client.addPlugin(CrashReporterPlugin.getInstance());