I just added support for two additional push notification fields:
lang: can be used to indicate language preferences for the notificationsilent: indicate the notification should be silent, avoid noise and vibration. A nice gesture when your app isn’t super important.
These two fields are also supported in the accompanying push notification server GitHub - mpizenberg/go-notify-server: A minimal, self-hosted Web Push notification server in Go · GitHub
Also updated the example demo app to be able to set the tag field and silent toggle, as well as always send the notification with the icon field set to the app icon so that it’s visible in the notification.
The tag field is convenient to be able to replace notifications (with same tag) instead of staking many of them. Very useful when many notifications would be sent, so that the receiver only have 1 notification in their notification center.
