Is it possible to show a custom dialog message before when asking for notification permissions android. basically on click of ok button from dialog, it should open the notification icon.attached notification popup for reference:
Asked
Active
Viewed 25 times
0
-
You could check if user granted notification permissions. if not, you can show a dialog and when user clicks on ok button, show the permission one – Andrea Guadagni Jul 04 '23 at 09:27
-
This is not possible as Notification permission is not a runtime permission – prat Jul 10 '23 at 10:17
-
Ideally i shouldn't see the notification. My app is still on android-31 but my phone is on android 33 and thats why its showing up. But how to control the trigger of the notification as I want to show a policy before it. On accept button, it should show notification permission. – prat Jul 10 '23 at 12:49