Rename SonarDiagnosticActivity to FlipperDiagnosticActivity

Summary: Per title.

Reviewed By: danielbuechele

Differential Revision: D9966619

fbshipit-source-id: 52934813903f1d48c1ee35938848320b54a50a0f
This commit is contained in:
Pascal Hartig
2018-09-21 11:35:25 -07:00
committed by Facebook Github Bot
parent ab4f4ed02b
commit 8780cff8ca
6 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ Add the following permissions to your AndroidManifest.xml. The SDK needs these t
It's recommended that you add the following activity to the manifest too, which can help diagnose integration issues and other problems:
```xml
<activity android:name="com.facebook.sonar.android.diagnostics.SonarDiagnosticActivity"
<activity android:name="com.facebook.sonar.android.diagnostics.FlipperDiagnosticActivity"
android:exported="true"/>
```

View File

@@ -37,9 +37,9 @@ The Flipper SDK includes an in-app connection diagnostics screen to help you dia
Replace `<APP_PACKAGE>` below with the package name of your app, e.g. `com.facebook.flipper.sample`.
On a terminal, run the following:
```bash
adb shell am start -n <APP_PACKAGE>/com.facebook.sonar.android.diagnostics.SonarDiagnosticActivity
adb shell am start -n <APP_PACKAGE>/com.facebook.sonar.android.diagnostics.FlipperDiagnosticActivity
```
This will only work if you added `SonarDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started.html) for help.
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started.html) for help.
#### iOS
You'll need to manually add this [ViewController](https://github.com/facebook/flipper/blob/master/iOS/SonarKit/FlipperDiagnosticsViewController.m) to your app to see the in-app diagnostics.