diff --git a/karte_core/android/build.gradle b/karte_core/android/build.gradle index 8879747..749bc49 100644 --- a/karte_core/android/build.gradle +++ b/karte_core/android/build.gradle @@ -28,6 +28,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 31 + if (project.android.hasProperty("namespace")) { + namespace 'io.karte.flutter.core' + } + defaultConfig { minSdkVersion 16 versionName version diff --git a/karte_in_app_messaging/android/build.gradle b/karte_in_app_messaging/android/build.gradle index 5cdac13..9ef0458 100644 --- a/karte_in_app_messaging/android/build.gradle +++ b/karte_in_app_messaging/android/build.gradle @@ -24,6 +24,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 31 + if (project.android.hasProperty("namespace")) { + namespace 'io.karte.flutter.inappmessaging' + } + defaultConfig { minSdkVersion 16 } diff --git a/karte_notification/android/build.gradle b/karte_notification/android/build.gradle index 4468c73..1376e61 100644 --- a/karte_notification/android/build.gradle +++ b/karte_notification/android/build.gradle @@ -24,6 +24,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 31 + if (project.android.hasProperty("namespace")) { + namespace 'io.karte.flutter.notifications' + } + defaultConfig { minSdkVersion 16 } diff --git a/karte_variables/android/build.gradle b/karte_variables/android/build.gradle index f1b0a0b..462e6e7 100644 --- a/karte_variables/android/build.gradle +++ b/karte_variables/android/build.gradle @@ -24,6 +24,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 31 + if (project.android.hasProperty("namespace")) { + namespace 'io.karte.flutter.variables' + } + defaultConfig { minSdkVersion 16 } diff --git a/karte_visual_tracking/android/build.gradle b/karte_visual_tracking/android/build.gradle index 35d6be1..441653e 100644 --- a/karte_visual_tracking/android/build.gradle +++ b/karte_visual_tracking/android/build.gradle @@ -24,6 +24,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 31 + if (project.android.hasProperty("namespace")) { + namespace 'io.karte.flutter.visual_tracking' + } + defaultConfig { minSdkVersion 16 }