Add language indicator to code guards

Summary: Just to help out the markdown renderer.

Reviewed By: jknoxville

Differential Revision: D9654370

fbshipit-source-id: bde7afa290a735b77a093221b33a6ca8e12599fc
This commit is contained in:
Pascal Hartig
2018-09-05 07:57:47 -07:00
committed by Facebook Github Bot
parent d26779cd16
commit 9bb898c846

View File

@@ -25,20 +25,21 @@ Once you start Flipper and launch an emulator/simulator or connect a device, you
Add the following permissions to your AndroidManifest.xml. The SDK needs these to communicate with the desktop app on localhost via adb. It won't make any external internet requests. Add the following permissions to your AndroidManifest.xml. The SDK needs these to communicate with the desktop app on localhost via adb. It won't make any external internet requests.
``` ```xml
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <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: 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.SonarDiagnosticActivity"
android:exported="true"/> android:exported="true"/>
``` ```
Flipper is distributed via JCenter. Add dependencies to your `build.gradle` file. Flipper is distributed via JCenter. Add dependencies to your `build.gradle` file.
``` ```groovy
repositories { repositories {
jcenter() jcenter()
} }