From a89606fd8fee8388b042312bd1071f4f3d4c95d8 Mon Sep 17 00:00:00 2001 From: Brent Luehr Date: Thu, 16 Nov 2023 16:44:00 -0800 Subject: [PATCH 1/2] Corrected namespace to match package name in .java files --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 5aeefd0d..4a699ee4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -46,7 +46,7 @@ if (isNewArchitectureEnabled()) { android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION if (agpVersion.tokenize('.')[0].toInteger() >= 7) { - namespace "com.ronradtke.rnblobutil" + namespace "com.ReactNativeBlobUtil" } compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3') From 107f55da13e498fc77d33290cc321ce1286a120b Mon Sep 17 00:00:00 2001 From: Brent Luehr Date: Thu, 16 Nov 2023 16:50:22 -0800 Subject: [PATCH 2/2] Enable buildConfig feature for gradle --- android/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 4a699ee4..6674cc77 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -47,6 +47,9 @@ android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "com.ReactNativeBlobUtil" + buildFeatures { + buildConfig true + } } compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')