From a3e70ad3fc15a9fe0aea39c158bfdb8c24e0017c Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Fri, 10 Nov 2023 06:30:56 -0500 Subject: [PATCH] fix(android): enable buildFeatures.buildConfig for android gradle plugin 8+ --- 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)