Skip to content

Commit 107f55d

Browse files
committed
Enable buildConfig feature for gradle
1 parent a89606f commit 107f55d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

android/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ android {
4747
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
4848
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
4949
namespace "com.ReactNativeBlobUtil"
50+
buildFeatures {
51+
buildConfig true
52+
}
5053
}
5154
compileSdkVersion safeExtGet('compileSdkVersion', 30)
5255
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')

0 commit comments

Comments
 (0)