diff --git a/android/build.gradle b/android/build.gradle index c240410..d4573e7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -28,6 +28,11 @@ 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 {