Browse Source

conditionally add namespace for AGP 8 support.

pull/105/head
Herbert Poul 1 year ago
parent
commit
0434a60437
  1. 4
      android/build.gradle

4
android/build.gradle

@ -22,6 +22,10 @@ rootProject.allprojects {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'com.markosyan.flutter_zxing'
}
compileSdkVersion 31 compileSdkVersion 31
externalNativeBuild { externalNativeBuild {

Loading…
Cancel
Save