Skip to content

Commit

Permalink
Added the namespace property in build.gradle if the field is necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoedomingos committed Oct 12, 2023
1 parent d553e73 commit f7611e9
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 8
if (project.android.hasProperty("namespace")) {
namespace 'com.onesignal.flutter'
}

defaultConfig {
minSdkVersion 16
Expand Down

0 comments on commit f7611e9

Please sign in to comment.