From 9a0c90bd2f76ff9b5ce4df222249af07a1a140f2 Mon Sep 17 00:00:00 2001 From: Tiffaa <33839996+TiffApps@users.noreply.github.com> Date: Thu, 20 Jul 2023 10:00:31 +0200 Subject: [PATCH 1/3] Fixed compatibility with AGP 4.2<= --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 4e8106c..e8c46aa 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,11 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + // Conditional for compatibility with AGP <4.2. + if (project.android.hasProperty("namespace")) { + namespace 'io.flutterfastkit.fk_user_agent' + } + compileSdkVersion 30 defaultConfig { From 5265706e104b0d07d670284fbee835338994eb86 Mon Sep 17 00:00:00 2001 From: Tiffaa <33839996+TiffApps@users.noreply.github.com> Date: Thu, 20 Jul 2023 10:01:34 +0200 Subject: [PATCH 2/3] Bumped to 2.1.1 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index f3e54f6..73ab968 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: fk_user_agent description: Retrieve Android/iOS device user agents in Flutter. -version: 2.1.0 +version: 2.1.1 homepage: https://github.com/flutter-fast-kit/fk_user_agent environment: From 922f9f9eafd8b501da83dca67d56b2887fa8f916 Mon Sep 17 00:00:00 2001 From: Tiffaa <33839996+TiffApps@users.noreply.github.com> Date: Thu, 20 Jul 2023 10:01:56 +0200 Subject: [PATCH 3/3] Bumped to 2.1.1 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index e8c46aa..6fd0249 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'io.flutterfastkit.fk_user_agent' -version '2.0.0' +version '2.1.1' buildscript { repositories {