From 107f55da13e498fc77d33290cc321ce1286a120b Mon Sep 17 00:00:00 2001 From: Brent Luehr Date: Thu, 16 Nov 2023 16:50:22 -0800 Subject: [PATCH] Enable buildConfig feature for gradle --- android/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 4a699ee4..6674cc77 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -47,6 +47,9 @@ android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "com.ReactNativeBlobUtil" + buildFeatures { + buildConfig true + } } compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')