Reputation: 1071
At least in my two xiaomi's phones when I install my app, it doesn't have all notifications permission (only vibrate, badge and lock screen) like in the pic.
What can I do to in my app to have all the notification permissions enabled by default?
Thanks!
Upvotes: 6
Views: 9774
Reputation: 1125
You need to manually ask for permission for Android 6.0 and above. More informations : Request App Permissions
Upvotes: -1
Reputation: 1131
Starting from android 6.0 marshmallow you need to manually give permissions for security reasons. If the application isn't written in such way that it checks for permissions and asks for them, then you can't get them enabled by default(without going to settings).
Upvotes: 0