From 2ae325c7233b9a6622c91596ec95dd712db73488 Mon Sep 17 00:00:00 2001 From: David H <50745202+DavidHDJ@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:24:27 +0100 Subject: [PATCH] Add conditional for compatibility with AGP < 4.2 --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index c6e46f3..d96a9ff 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,10 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + // Conditional for compatibility with AGP < 4.2 + if (project.android.hasProperty("namespace")) { + namespace "in.jvapps.system_alert_window" + } compileSdkVersion 34 defaultConfig { minSdkVersion 21