How to add Actions (button bellows the notification) for a Web application.
I tried to add actions to firebase-messaging-sw.js, But nothing changed.
You'll have to add the actions to a notification created in onBackgroundMessage() callback.
Can you provide example code of what you've tried so far?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.