Skip to content

Commit

Permalink
Merge pull request #765 from Marco4763/feature/agp-8
Browse files Browse the repository at this point in the history
Added the namespace property in build.gradle if the field is necessary.
  • Loading branch information
nan-li authored Jan 24, 2024
2 parents b2297a4 + 252dda2 commit 8f00a35
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 @@ -23,6 +23,10 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 28
// Condition for namespace compatibility in AGP <4.2
if (project.android.hasProperty("namespace")) {
namespace 'com.onesignal.flutter'
}

defaultConfig {
minSdkVersion 16
Expand Down

0 comments on commit 8f00a35

Please sign in to comment.