OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
625 stars 215 forks source link

[user model] Added the namespace property in build.gradle #825

Closed nan-li closed 10 months ago

nan-li commented 10 months ago

Description

One Line Summary

This PR provide the package namespace if the AGP is equal or higher then 8.

Details

This PR is a cherry-pick of this main branch PR https://github.com/OneSignal/OneSignal-Flutter-SDK/pull/765 for the user_model branch.

Motivation

By adding the namespace condition for AGP 8 and higher, this fix the issue [Bug]: AGP 8 not supported #764

Testing

Manual testing

Tested during the Gradle sync with AGP 9

Affected code checklist

Checklist

Overview

Testing

Final pass


This change is Reviewable