diff --git a/android/build.gradle b/android/build.gradle index 4640937..8ea9c96 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -25,6 +25,11 @@ 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 {