Update Push-notifications.md

This commit is contained in:
Eugen Rochko 2017-12-13 14:31:35 +01:00 committed by GitHub
parent 1f591f8154
commit b664972724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
Push notifications
==================
See <https://github.com/Gargron/tusky-api> for an example of how to create push notifications for a mobile app. It involves using the Mastodon streaming API on behalf of the app's users, as a sort of proxy.
Mastodon natively supports the [Web Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API). You can utilize the same mechanisms for your native app. See also: [Mozilla's web push server](https://github.com/mozilla-services/autopush).
The other option involves using the Mastodon streaming API on behalf of the app's users, as a sort of proxy. See <https://github.com/Gargron/tusky-api> for an example.