diff --git a/uni_links/android/build.gradle b/uni_links/android/build.gradle index e3355ff..2d6678d 100644 --- a/uni_links/android/build.gradle +++ b/uni_links/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 'name.avioli.unilinks' + } + compileSdkVersion 28 defaultConfig {