Summary: Per title. Tried to only update the things I touched myself. Reviewed By: jknoxville Differential Revision: D10028023 fbshipit-source-id: 09b56ea9d19caa277a107e4ea970d3ebb28b2165
26 lines
805 B
Markdown
26 lines
805 B
Markdown
---
|
|
id: sandbox-plugin
|
|
title: Sandbox
|
|
---
|
|
|
|
The Sandbox plugin is useful for developers that had to test changes of their apps by pointing them to some Sandbox environment. Through this plugin and a few lines of code in the client,
|
|
the app can get a callback and get the value that the user has input through Flipper. At this point, the developer can plugin its logic to save this setting in its app.
|
|
|
|
## Setup
|
|
|
|
To use the sandbox plugin, you need to add the plugin to your Flipper client instance.
|
|
|
|
### Android
|
|
|
|
```java
|
|
import com.facebook.flipper.plugins.SandboxSonarPlugin;
|
|
import com.facebook.flipper.plugins.SandboxSonarPluginStrategy;
|
|
|
|
final SandboxSonarPluginStrategy strategy = getStrategy(); // Your strategy goes here
|
|
client.addPlugin(new SandboxSonarPlugin(strategy));
|
|
```
|
|
|
|
### iOS
|
|
|
|
Coming soon
|