From da6b5b448a8a1c2a43817c1907f402eb9e25174f Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Fri, 10 Nov 2023 07:54:56 -0500 Subject: [PATCH] fix(android): add buildFeatures.buildConfig on for AGP8+ compatibility --- android/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index e4ef8e36..8554e7b9 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -82,6 +82,9 @@ android { compileSdkVersion getExtOrIntegerDefault('compileSdkVersion') if (shouldUseNameSpace){ namespace = "com.reactnativepagerview" + buildFeatures { + buildConfig true + } } defaultConfig { minSdkVersion getExtOrIntegerDefault('minSdkVersion')