Ask permission for push notification

UPDATE 2022

The way we request permissions on Android has changed drastically with Android 13. Please see other answers below that mention the same.


As answered here, you don’t need permissions for push notifications.

Actually the push notification permission lie in the normal category
permission like Internet permission, not in dangerous category
permission.

You don’t have to ask for push notification permissions.

While Contacts/Locations are the dangerous permissions because you are
accessing user data. So it is always needed to ask the user to allow it.

https://developer.android.com/guide/topics/security/permissions.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)