nuxt
nuxt copied to clipboard
How do you send native notifications using this package?
The main reason I want to enable my app to be a PWA is native notifications, and this package doesn't seem to mention it anywhere :/
Is there any documentation on that?
Want to know too
@jetlej @suchorski the issue is about web push notifications?
If so, you need for example https://dev.to/wteja/how-to-make-push-notification-using-nodejs-and-service-worker-jaa (you need the push service in your backend)
You can check a sw example here (the backend is any mastodon server where the user using Elk has an account): https://github.com/elk-zone/elk/tree/main/service-worker
And here https://docs.elk.zone/pwa some docs.
@userquin more like custom service workers
Not web push notifications. Native mobile notifications on iOS and Android.
Not web push notifications. Native mobile notifications on iOS and Android.
Some link to the specs?
I guess they still are technically web push notifications, but they're for when you save a PWA to your homescreen:
https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/ https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_and_browsers
@jetlej check elk.zone, you need to add psuh notification to your backend