https://docs.airship.com/platform/mobile/push/getting-started/?groupid=android-java says
“Enabling userPushNotificationsEnabled will prompt the user for permission to send notifications.”
and
“For apps that target Android 13 (API 33) and above, enabling user notifications will display a runtime permission prompt to allow notifications to be sent.”
What about apps that target a lower version of the API?
My app (using Airship SDK 16.8.0) does not yet target API 33, and on Android 13 devices it doesn’t prompt the user to allow notifications when I call UAirship.shared().getPushManager().setUserNotificationsEnabled(true);
Shouldn’t it prompt the user at this point to allow notifications (if this permission is not currently granted)?
Didn't find what you were looking for?
New post-
Lock repair in Harrogate provides peace of mind, but on Android 13 devices, the issue of apps not prompting users to allow notifications can be frustrating. To resolve this, users should ensure that notification permissions are enabled in the app settings. Additionally, checking the device’s settings for notification restrictions and ensuring the app is updated can help resolve this issue, allowing the app to prompt the user as intended.
Comment actions
Please sign in to leave a comment.
Comments
1 comment