App Icons badging-api


i am thinking about creating a kind of news website with a notification function using ionic / pwa.
It would be important to be informed about new messages, even if you haven’t opened the page.
Has anyone had any experience with badging-api and how to use it effectively with ionic?