AndroidSonarClient -> AndroidFlipperClient
Summary: Per title. The controller you requested could not be found. Reviewed By: priteshrnandgaonkar Differential Revision: D9966768 fbshipit-source-id: 224ff9d02d6a01a6f7ee28788ddd9167d15aafee
This commit is contained in:
committed by
Facebook Github Bot
parent
8780cff8ca
commit
470ac6f6f7
@@ -60,7 +60,7 @@ public class MyApplication extends Application {
|
||||
SoLoader.init(this, false);
|
||||
|
||||
if (BuildConfig.DEBUG && SonarUtils.shouldEnableSonar(this)) {
|
||||
final SonarClient client = AndroidSonarClient.getInstance(this);
|
||||
final SonarClient client = AndroidFlipperClient.getInstance(this);
|
||||
client.addPlugin(new InspectorSonarPlugin(this, DescriptorMapping.withDefaults()));
|
||||
client.start();
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@ Plugins are identified by the string that their identifier method returns, in th
|
||||
### Android
|
||||
|
||||
```java
|
||||
final SonarClient client = AndroidSonarClient.getInstance(context);
|
||||
// Client may be null if AndroidSonarClient.createInstance() was never called
|
||||
final SonarClient client = AndroidFlipperClient.getInstance(context);
|
||||
// Client may be null if AndroidFlipperClient.createInstance() was never called
|
||||
// which is the case in production builds.
|
||||
if (client != null) {
|
||||
final MySonarPlugin plugin = client.getPlugin("MySonarPlugin");
|
||||
|
||||
Reference in New Issue
Block a user