It would have to be a server run by a client with cryptographic keys for sending notifications to the app. For implementation, see
https://github.com/coracle-social/nps
https://github.com/coracle-social/npb
https://github.com/coracle-social/nps
https://github.com/coracle-social/npb