简体   繁体   中英

Showing unread notification count through web manifest

I recently added a web manifest to my webapp following this guide. It works perfectly fine. I have also implemented push notifications. I want to know if there is a way to add an unread notification count like any other android app does indicating number of unread notifications on the launcher icon on the homescreen.

The WICG Badging API will most likely solve this, but it will take some time before browser implement it.

See https://github.com/WICG/badging/blob/master/explainer.md

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM