Summary: Adding a "features" page to the to bar and splitting plugin descriptions from their setup instructions. Reviewed By: jknoxville Differential Revision: D15147464 fbshipit-source-id: b2106d825454c3b2989eb1e536b128ef9b6d0247
32 lines
595 B
Markdown
32 lines
595 B
Markdown
---
|
|
id: crash-reporter-plugin
|
|
title: Crash Reporter Setup
|
|
sidebar_label: Crash Reporter
|
|
---
|
|
|
|
## Android
|
|
|
|
```java
|
|
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
|
|
|
|
client.addPlugin(CrashReporterPlugin.getInstance());
|
|
```
|
|
|
|
|
|
## iOS
|
|
|
|
<!--DOCUSAURUS_CODE_TABS-->
|
|
<!--Objective-C-->
|
|
```objectivec
|
|
#import <FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h>
|
|
|
|
[client addPlugin:[FlipperKitCrashReporterPlugin sharedInstance]];
|
|
```
|
|
<!--Swift-->
|
|
```swift
|
|
import FlipperKit
|
|
|
|
client?.add(FlipperKitCrashReporterPlugin.sharedInstance());
|
|
```
|
|
<!--END_DOCUSAURUS_CODE_TABS-->
|