TMS Software Blog: TMS WEB Core and More with Andrew:<br />Notifications via Browser Push Notifications
Summary
Browser Push Notifications have been getting a bit of extra attention more recently, as support has been added for PWA apps in iOS/iPadOS 16.4, released a few months ago. We can test the basic accessibility of our push notification server by using the /hello endpoint with curl, both locally and on a remote system, to ensure any firewall rules have been factored in. If we want to send a notification from the command line directly, we can use curl, assuming we know the account name and preferences value that will match an existing subscriber record. To start with, well need a "subscribe" TWebButton, an "account" TWebEdit, and some options that well use to reflect the preferences that were using to help the user filter out only the notifications that they are interested in. Beyond the simple title and body of the notification, browsers start to differ in their support for the larger image and the link to a custom web page.