Update getPlugin docs
Summary: Per title. Reviewed By: jknoxville Differential Revision: D13304655 fbshipit-source-id: 8f9e78dbee043e749b1fdd2d4a540eeece66734b
This commit is contained in:
committed by
Facebook Github Bot
parent
214f112c14
commit
dfd2e279bc
@@ -17,7 +17,7 @@ final FlipperClient 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 MyFlipperPlugin plugin = client.getPlugin("MyFlipperPlugin");
|
||||
final MyFlipperPlugin plugin = client.getPluginByClass(MyFlipperPlugin.class);
|
||||
plugin.sendData(myData);
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user