From 49294411e4a0d422b80571363ac6cc83bb8d68c6 Mon Sep 17 00:00:00 2001 From: "dmitry.gapkalov" Date: Mon, 16 Sep 2024 22:32:17 -0400 Subject: [PATCH] Conditional for compatibility with AGP <4.2 --- android/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 4640937..5c2175b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -25,6 +25,12 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + + // Conditional for compatibility with AGP <4.2. + if (project.android.hasProperty("namespace")) { + namespace 'com.simform.flutter_credit_card' + } + compileSdk 31 compileOptions {