From b06ae41fc2706c8e5eb9fc7d67e23cd934b8baf4 Mon Sep 17 00:00:00 2001 From: Roberto Ingenito Date: Wed, 25 Dec 2024 21:50:46 +0100 Subject: [PATCH] add namespace --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) 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 {