Skip to content

Commit

Permalink
fix: [android] Add namespace to work with android gradle 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl committed Sep 8, 2023
1 parent 45d5a9f commit 9f9dd16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 'com.agora.iris_method_channel'
}

compileSdkVersion 31

externalNativeBuild {
Expand Down

0 comments on commit 9f9dd16

Please sign in to comment.