From f7611e9026e180b542cbc447a1d7780b3210c885 Mon Sep 17 00:00:00 2001 From: Marco4763 Date: Thu, 12 Oct 2023 14:44:32 +0100 Subject: [PATCH] Added the namespace property in build.gradle if the field is necessary. --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 054eeb10..5a1aa46b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -23,6 +23,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 28 + // Condition for namespace compatibility in AGP 8 + if (project.android.hasProperty("namespace")) { + namespace 'com.onesignal.flutter' + } defaultConfig { minSdkVersion 16