Removing uses of DeniedDontAskAgain, similar to Unity trunk. On Android 13 we don't reliably detect if it's a permanent dismiss, or a soft dismiss by swiping. And this is the only Android version where permission is required.
The changes after this release:
AndroidNotificationCenter.UserPermissionToPost now should never return DeniedDontAskAgain
PermissonRequest should work even if we have saved DeniedDontAskAgain is prefs
Testing required:
Build master version using target SDK 33, request for permission and dismiss the dialog by swiping; you should get a permanent deny and not be able to request again
Replacing the app with version from this PR should let to request again and again until Deny button is pressed twice, after which you can only go to settings and enable there
the Main test project is just fine for this, has buttons to request permission and to open settings.
Removing uses of DeniedDontAskAgain, similar to Unity trunk. On Android 13 we don't reliably detect if it's a permanent dismiss, or a soft dismiss by swiping. And this is the only Android version where permission is required.
The changes after this release:
Testing required: