diff --git a/android/build.gradle b/android/build.gradle index 7d96ddf..82741d7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -37,6 +37,11 @@ def getExtOrIntegerDefault(name) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + // Check AGP version for backward compatibility reasons + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace = "com.candlefinance.fasterimage" + } compileSdkVersion getExtOrIntegerDefault("compileSdkVersion") defaultConfig {