diff --git a/android/build.gradle b/android/build.gradle index 155b3a8e9..3263049c0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -75,11 +75,11 @@ if (isNewArchitectureEnabled()) { android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION - if (agpVersion.tokenize('.')[0].toInteger() >= 7) { - namespace "com.reactnativecommunity.picker" - } + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.reactnativecommunity.picker" + } - compileSdkVersion safeExtGet('compileSdkVersion', 31) + compileSdkVersion safeExtGet('compileSdkVersion', 31) defaultConfig { minSdkVersion safeExtGet('minSdkVersion', 21) @@ -101,6 +101,10 @@ android { } } } + + buildFeatures { + buildConfig = true + } } repositories {