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 postPlease sign in to leave a comment.
Comments
0 comments