From a5abb365a71b1754c1d725e67f52c84e30af4a34 Mon Sep 17 00:00:00 2001 From: Alex Hernandez Date: Tue, 18 Jul 2023 13:04:02 -0700 Subject: [PATCH] Update build.gradle --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index c8f7fd44..c69d1505 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -16,6 +16,11 @@ def safeExtGet(prop, fallback) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.lugg.RNCConfig" + } + compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig {