From 72e91aab02a8153bf29d3e458b735aed593c3f9a Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Mon, 6 Nov 2023 22:41:17 +0300 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 5016f0c..215a146 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,6 +5,11 @@ def safeExtGet(prop, fallback) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.vinzscam.reactnativefileviewer" + } + compileSdkVersion safeExtGet('compileSdkVersion', 28) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')