Fix link to diagnostic screen setup

Summary: Was pointed out to be broken in https://github.com/facebook/flipper/issues/1254

Reviewed By: mweststrate

Differential Revision: D22117270

fbshipit-source-id: 15947f9e0373b4324165de7d1a2a6be70a8e652c
This commit is contained in:
John Knox
2020-06-19 07:57:07 -07:00
committed by Facebook GitHub Bot
parent ae9c07c8f3
commit 40a5721d45

View File

@@ -4,6 +4,7 @@ title: Troubleshooting Issues
sidebar_label: Troubleshooting Issues sidebar_label: Troubleshooting Issues
--- ---
import useBaseUrl from '@docusaurus/useBaseUrl'; import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';
We hope that flipper works well out of the box, but the software is a work in progress and problems will occur. Below are some known issues and steps you can take to try to resolve them. We hope that flipper works well out of the box, but the software is a work in progress and problems will occur. Below are some known issues and steps you can take to try to resolve them.
@@ -41,7 +42,7 @@ On a terminal, run the following:
```bash ```bash
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
``` ```
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started/index) for help. This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See <Link to={useBaseUrl('/docs/getting-started/android-native#diagnostics')}>getting started</Link> for help.
#### iOS #### iOS
You'll need to manually add this [ViewController](https://github.com/facebook/flipper/blob/master/iOS/FlipperKit/FlipperDiagnosticsViewController.m) to your app to see the in-app diagnostics. You'll need to manually add this [ViewController](https://github.com/facebook/flipper/blob/master/iOS/FlipperKit/FlipperDiagnosticsViewController.m) to your app to see the in-app diagnostics.