From 36ca57ee25916aea87b746cb4ceae3b0a3ed3d0b Mon Sep 17 00:00:00 2001 From: Andrei Shikov Date: Tue, 23 Feb 2021 13:21:03 -0800 Subject: [PATCH] Mark rn tester flavours as debuggable Summary: Changelog: [Internal] Debuggable flag defines multiple things for flavours including `NDEBUG` flag in native builds. We need to explicitly state this from build.gradle to use it. Reviewed By: JoshuaGross Differential Revision: D26610482 fbshipit-source-id: e0c8095e239241c57a119e561b125cab16bf299f --- packages/rn-tester/android/app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/rn-tester/android/app/build.gradle b/packages/rn-tester/android/app/build.gradle index 0a09e54684e75e..3af20011187745 100644 --- a/packages/rn-tester/android/app/build.gradle +++ b/packages/rn-tester/android/app/build.gradle @@ -177,9 +177,11 @@ android { } buildTypes { debug { + debuggable true signingConfig signingConfigs.release } release { + debuggable false minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release