diff --git a/android/app/build.gradle b/android/app/build.gradle index 34002476e..422f82ab0 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -43,4 +43,7 @@ dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) implementation project(':sdk') + + debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' + releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 7f65cfa28..d65202d64 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -5,6 +5,7 @@ android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:name=".MainApplication" android:theme="@style/AppTheme">