From 5ce561e26a7789a0217640befa8b24efabc8cbb1 Mon Sep 17 00:00:00 2001 From: sumit-alaan <131178209+sumit-alaan@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:11:15 +0530 Subject: [PATCH] Added namespace --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 24a37eb..0f4d70d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -28,6 +28,10 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + // conditional for compatibility with older gradle versions + if (project.android.hasProperty('namespace')) { + namespace 'com.onfido.sdk.flutter' + } compileSdkVersion 32 compileOptions {