The Notification Runtime Permission
Request notification permission on Android 13+.
The Notification Permission
Starting with Android 13 (API 33), apps must request a runtime permission to post notifications: POST_NOTIFICATIONS. Without it, your notifications are silently blocked.
Why It Was Added
Before Android 13, notifications were on by default and users had to dig into Settings to mute noisy apps. The runtime permission flips this: users now explicitly opt in, reducing spam.
All lessons in this course
- Notification Channels
- Building a Notification
- Actions and Deep Links
- The Notification Runtime Permission