From 8534b77bfee5924855920320460406b0ae5f21b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20May=C3=A1n?= Date: Thu, 26 Sep 2024 15:03:14 +0200 Subject: [PATCH 1/2] fix: fix Android compilation error due to not specifying namespace --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 3b29228..4ed2351 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -24,6 +24,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 28 + if (project.android.hasProperty("namespace")) { + namespace 'com.situm.flutter_unity' + } + defaultConfig { minSdkVersion 16 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" From ccb83b06f46bbb9d1eba75145f1ed29df65397c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20May=C3=A1n?= Date: Fri, 27 Sep 2024 09:54:04 +0200 Subject: [PATCH 2/2] fix: removed package declaration in manifest for gradle >= 8 compilations --- android/build.gradle | 2 +- android/src/main/AndroidManifest.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 4ed2351..9245a50 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -25,7 +25,7 @@ android { compileSdkVersion 28 if (project.android.hasProperty("namespace")) { - namespace 'com.situm.flutter_unity' + namespace 'com.glartek.flutter_unity' } defaultConfig { diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 328213a..a2f47b6 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,3 +1,2 @@ - +