Update sonar references in sandbox plugin docs (#349)

Summary:
Was experimenting with Flipper for the first time - while copying snippets over realized the classes don't exist anymore. Just wanted to contribute.

Update class names and import paths for sandbox plugin snippet.
Pull Request resolved: https://github.com/facebook/flipper/pull/349

Differential Revision: D13590256

Pulled By: passy

fbshipit-source-id: f6802276d40d7a76e15b5aad7bb86cda34c85e12
This commit is contained in:
Justin Tuchek
2019-01-07 08:49:44 -08:00
committed by Facebook Github Bot
parent 7471dc6481
commit 2c6d126f05

View File

@@ -13,11 +13,11 @@ To use the sandbox plugin, you need to add the plugin to your Flipper client ins
### Android
```java
import com.facebook.flipper.plugins.SandboxSonarPlugin;
import com.facebook.flipper.plugins.SandboxSonarPluginStrategy;
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPlugin;
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPluginStrategy;
final SandboxSonarPluginStrategy strategy = getStrategy(); // Your strategy goes here
client.addPlugin(new SandboxSonarPlugin(strategy));
final SandboxFlipperPluginStrategy strategy = getStrategy(); // Your strategy goes here
client.addPlugin(new SandboxFlipperPlugin(strategy));
```
### iOS