Files
flipper/desktop/plugins/public/sandbox/docs/setup.mdx
Kevin Strider d511cd0980 setup.mdx (setup - Sandbox)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36372379

fbshipit-source-id: 5bf1e93f7901c9ceec9a06c4d9c46a2b06fb201c
2022-05-13 05:28:01 -07:00

15 lines
545 B
Plaintext

import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';
To use the <Link to={useBaseUrl("/docs/features/plugins/sandbox")}>Sandbox plugin</Link>, you need to add the plugin to your Flipper client instance.
## 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));
```