Add SonarDiagnosticActivity to getting-started (#250)

Summary:
Sonar isn't yet opening this activity remotely, but it's worth getting users to add it early, so that when it does, it will work.
Pull Request resolved: https://github.com/facebook/flipper/pull/250

Reviewed By: passy

Differential Revision: D9455599

Pulled By: jknoxville

fbshipit-source-id: 252f7e7f89751b188665ece4ab9f815fd90fe500
This commit is contained in:
John Knox
2018-08-22 09:17:59 -07:00
committed by Facebook Github Bot
parent e2575239f2
commit d82fa3c2b5

View File

@@ -30,6 +30,12 @@ Add the following permissions to your AndroidManifest.xml. The SDK needs these t
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
```
It's recommended that you add the following activity to the manifest too, which can help diagnose integration issues and other problems:
```
<activity android:name="com.facebook.sonar.android.diagnostics.SonarDiagnosticActivity"
android:exported="true"/>
```
Flipper is distributed via JCenter. Add dependencies to your `build.gradle` file.
```