Skip to content

Commit

Permalink
Merge pull request #105 from authpass/agp8
Browse files Browse the repository at this point in the history
conditionally add namespace for AGP 8 support.
  • Loading branch information
khoren93 authored Aug 21, 2023
2 parents 5003d6b + 0434a60 commit b89fd4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 'com.markosyan.flutter_zxing'
}
compileSdkVersion 31

externalNativeBuild {
Expand Down

0 comments on commit b89fd4c

Please sign in to comment.