I'm working an application and I need to use push notification. I know that push notification are a normal permission so I can't ask it at run time. But I would insert in the permission when the user downloads and installs the application, and the notice that the application should send a push notification.
How can I do it? Do I have to insert something in the manifest?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With