sygnal icon indicating copy to clipboard operation
sygnal copied to clipboard

MQTT Push Provider?

Open jcgruenhage opened this issue 8 years ago • 7 comments

MQTT would be an alternative for Riot on Android/maybe iOS, Facebook is using it for their messenger instead of GCM/APNS. This way Google and Apple would get less metadata, which is one of the reasons people prefer self hosted open source solutions.

If this is not in the scope for sygnal, maybe someone could implement another push gateway that would do this.

jcgruenhage avatar Jan 30 '17 09:01 jcgruenhage

That would be awesome!

ara4n avatar Jan 30 '17 09:01 ara4n

I fear I just already have too many projects I am working on at the moment, so someone else would need to do that :D

jcgruenhage avatar Jan 30 '17 19:01 jcgruenhage

Would be nice if LineageOS and others could establish their own standard for push notifications. Should be based on web push IMHO. https://datatracker.ietf.org/doc/html/draft-ietf-webpush-protocol https://web.dev/push-notifications-overview/

awesome-manuel avatar May 19 '20 08:05 awesome-manuel

@awesome-manuel you might want to look at https://bubu1.eu/openpush/

jcgruenhage avatar May 19 '20 09:05 jcgruenhage

Unified Push (unifiedpush.org) is a nother interesting project. It already supports matrix using their common gatwyays project which implements the push notification api.

minecraftchest1 avatar Jun 19 '22 05:06 minecraftchest1

@jcgruenhage @minecraftchest1 you're right, but that means something like sygnal (or any other service that want's to support push) has to implement Firebase, Apple APNs, Web Push, Openpush and Unified Push. Actually Web Push should be enough and all the others could be implemented on top of it.

awesome-manuel avatar Jun 20 '22 13:06 awesome-manuel

At this point, the issue is mainly relevant to iOS. It’s already possible on Android to self-host the push server. See e.g. FluffyChat: https://gitlab.com/famedly/fluffychat/-/wikis/Push-Notifications-without-Google-Services.

WebKit’s Web Push API seems to support only installed PWA apps.

Re MQTT: on iOS, the FB Messenger uses it in-app and still relies on APNS to wake it up.

nisbet-hubbard avatar Jul 12 '23 03:07 nisbet-hubbard