Actions and Deep Links
Add buttons and open the right screen.
Actions and Deep Links
Notifications become useful when they do something. Tapping one should open the right screen, and action buttons should perform quick tasks. Both rely on PendingIntent.
What a PendingIntent Is
A PendingIntent is a token you hand to the system that lets it execute an Intent on your behalf later, even when your app is not running. Notifications use it to launch your activity.
All lessons in this course
- Notification Channels
- Building a Notification
- Actions and Deep Links
- The Notification Runtime Permission