diff --git a/docs/leak-canary-plugin.md b/docs/leak-canary-plugin.md index ede27ffef..23991da5f 100644 --- a/docs/leak-canary-plugin.md +++ b/docs/leak-canary-plugin.md @@ -37,6 +37,13 @@ RefWatcher refWatcher = LeakCanary.refWatcher(this) .buildAndInstall(); ``` + +Then, add the `RecordLeakService` in your debug variant AndroidManifest.xml. + +```xml + +``` + ## Usage Leaks detected by LeakCanary will appear automatically in Flipper. Each leak will display a hierarchy of objects, beginning from the garbage collector root and ending at the leaked class.