Summary: Moved plugin documentation and related assets to plugin folders, fixed links and configured redirects where required. Now these docs are used for both showing docs in Flipper and generating Flipper docs website. Reviewed By: passy Differential Revision: D29465567 fbshipit-source-id: 3ec4240b215b0d5baea5154f64266a9ba7ead3a5
12 lines
446 B
Plaintext
12 lines
446 B
Plaintext
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));
|
|
```
|