Unity-Technologies / com.unity.mobile.notifications

Mobile Notifications Package
https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.1/manual/index.html
Other
132 stars 42 forks source link

AndroidNotificationCenter.UserPermissionToPost does not consider the Status of the notifications from the Android Settings #260

Closed josefgrunig closed 1 year ago

josefgrunig commented 1 year ago

From Android Settings app it's possible to disable Push Notification and AndroidNotificationCenter.UserPermissionToPost does not reflect that setting.

On Android <= 12 it returns always true, even if the user has disabled the setting, while it should return the value of NotificationManagerCompat.from(context).areNotificationsEnabled()

aurimasc commented 1 year ago

API update to report this as well.