1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
2018-09-26 00:35:55 +02:00

835 B

title overview menu
Web Push API How to use the Web Push API in Mastodon to receive push notifications in a native or browser app
docs
parent weight
api 5

Mastodon natively supports the Web Push API. You can utilize the same mechanisms for your native app. It requires running a proxy server that connects to Android's and Apple's proprietary notification gateways. However, the proxy server does not have access to the contents of the notifications. For a reference, see Mozilla's web push server, or more practically, see:

Using the Web Push API requires your app to have the push scope.