docs: add features page
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
This commit is contained in:
committed by
Facebook Github Bot
parent
d9bb1c5cf1
commit
3b03a3d605
17
docs/setup/sandbox-plugin.md
Normal file
17
docs/setup/sandbox-plugin.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
id: sandbox-plugin
|
||||
title: Sandbox Setup
|
||||
sidebar_label: Sandbox
|
||||
---
|
||||
|
||||
To use the sandbox plugin, you need to add the plugin to your Flipper client instance. Currently the plugin is only supported on Android.
|
||||
|
||||
## Android
|
||||
|
||||
```java
|
||||
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPlugin;
|
||||
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPluginStrategy;
|
||||
|
||||
final SandboxFlipperPluginStrategy strategy = getStrategy(); // Your strategy goes here
|
||||
client.addPlugin(new SandboxFlipperPlugin(strategy));
|
||||
```
|
||||
Reference in New Issue
Block a user