From e2eca7569bf0a4f21790b1e7a6e41b174a7c24b4 Mon Sep 17 00:00:00 2001 From: Philipp Bauer Date: Sat, 16 Sep 2023 15:12:05 +0200 Subject: [PATCH] Add namespace --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index c538c86..419ef76 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.chargebee.flutter.sdk' + } + compileSdkVersion 30 compileOptions {