From 4be0416e9c1fed558123b59cfb716f48980fcc4b Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Tue, 7 Nov 2023 17:27:02 +0300 Subject: [PATCH 1/2] Update build.gradle --- flipper-native/android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flipper-native/android/build.gradle b/flipper-native/android/build.gradle index 95ad0f7..d7c20d7 100644 --- a/flipper-native/android/build.gradle +++ b/flipper-native/android/build.gradle @@ -5,6 +5,11 @@ def safeExtGet(prop, fallback) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (apgVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "tech.bam.rnperformance.flipper" + } + compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '30.0.2') From 91beef056785f88ed87dd0ee43591377ad64cc6f Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Tue, 7 Nov 2023 17:31:00 +0300 Subject: [PATCH 2/2] fix typo --- flipper-native/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flipper-native/android/build.gradle b/flipper-native/android/build.gradle index d7c20d7..ac85dcb 100644 --- a/flipper-native/android/build.gradle +++ b/flipper-native/android/build.gradle @@ -6,7 +6,7 @@ def safeExtGet(prop, fallback) { android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION - if (apgVersion.tokenize('.')[0].toInteger() >= 7) { + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "tech.bam.rnperformance.flipper" }