diff --git a/flipper-native/android/build.gradle b/flipper-native/android/build.gradle index 95ad0f7..ac85dcb 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 (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "tech.bam.rnperformance.flipper" + } + compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '30.0.2')