Rename LeakCanarySonarPlugin to LeakCanaryFlipperPlugin

Summary: As before.

Reviewed By: priteshrnandgaonkar

Differential Revision: D9990841

fbshipit-source-id: 4517d6949c3eb408b86b2b520d369134b006cf4f
This commit is contained in:
Pascal Hartig
2018-09-22 09:19:12 -07:00
committed by Facebook Github Bot
parent 235916666b
commit bd27a624cd
4 changed files with 7 additions and 7 deletions

View File

@@ -13,9 +13,9 @@ Note: this plugin is only available for Android.
First, add the plugin to your Flipper client instance:
```java
import com.facebook.sonar.plugins.leakcanary.LeakCanarySonarPlugin;
import com.facebook.sonar.plugins.leakcanary.LeakCanaryFlipperPlugin;
client.addPlugin(new LeakCanarySonarPlugin());
client.addPlugin(new LeakCanaryFlipperPlugin());
```
Next, build a custom RefWatcher using RecordLeakService: (see [LeakCanary docs](https://github.com/square/leakcanary/wiki/Customizing-LeakCanary#uploading-to-a-server) for more information on RefWatcher)