diff --git a/app/build.gradle b/app/build.gradle
index 768a4235..c7d682ee 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -31,6 +31,13 @@ android {
}
}
+ext {
+ leakCanaryVersion = '1.5.4'
+}
+
dependencies {
implementation 'com.simplemobiletools:commons:3.2.19'
+
+ debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
+ releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 7420855b..05d786e1 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -8,6 +8,7 @@
+