Leak Canary enabled on production (Android)

LeakCanary is a memory leak detection library for Android. Given that it adds instrumentation to your code, it's recommended to include it only on debug.
This insight detects if you have enabled Leak Canary in production.

In order to correctly setup LeakCanary, declare the dependency as debugImplementation on your app’s build.gradle[.kts] file:

dependencies {
  // debugImplementation because LeakCanary should only run in debug builds.
  debugImplementation("com.squareup.leakcanary:leakcanary-android:X.Y.Z")
}
dependencies {
  // debugImplementation because LeakCanary should only run in debug builds.
  debugImplementation 'com.squareup.leakcanary:leakcanary-android:X.Y.Z'
}

📘

LeakCanary for releases

LeakCanary has also support for release builds in production. Emerge doesn't display any insight if your app is using that feature.