From 42771aa69b1c2feca099ede58dd2c7531d84c74c 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 94e577b..611e5d7 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 {