From c391781712e5ab1a40e4b14e941a9d04c47d14c0 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Fri, 10 Nov 2023 12:44:45 -0500 Subject: [PATCH] fix(android): enable buildFeatures.buildConfig for android gradle plugin 8+ (#455) --- android/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index e556043c..f324b9a9 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -42,6 +42,9 @@ android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "com.th3rdwave.safeareacontext" + buildFeatures { + buildConfig true + } } compileSdkVersion getExtOrDefault('compileSdkVersion', 30)