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.
To use the sandbox plugin, you need to add the plugin to your Flipper client instance.
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));