From 1a3986e633cd65a74510ad119de10176654c6e91 Mon Sep 17 00:00:00 2001 From: NURUL AINI ZA Date: Thu, 7 Aug 2025 15:08:02 +0800 Subject: [PATCH] Update build.gradle Namespace not specified android.buildFeatures.buildConfig = true --- android/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index b8cea50..a59cd26 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,6 +29,13 @@ if (isNewArchitectureEnabled()) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger() + if (agpVersion >= 7) { + namespace 'com.github.wumke.RNExitApp' + } + buildFeatures { + buildConfig true + } compileSdkVersion safeExtGet('compileSdkVersion', 23) buildToolsVersion safeExtGet('buildToolsVersion', "25.0.0")