UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

Change to Server Sent Events (SSE) #5

Closed xundeenergie closed 2 years ago

xundeenergie commented 2 years ago

Tutanota explained, how they did notification to replace GCM/FCM with an old protocol SSE (Server Sent Events) in this german article.

https://f-droid.org/de/2018/09/03/replacing-gcm-in-tutanota.html

Do you think, it could be implemented

p1gp1g commented 2 years ago

Notifications are sent via SSE already

xundeenergie commented 2 years ago

Ok... sounds good. And the "rest" of this article... do you understand german. Or should i translate it?

Tutanota found a solution to get notificated without a permanent notification to keep the app awake.

p1gp1g commented 2 years ago

Thanks, I have translated it : mainly, they restart their service every 15 min. But it won't be a solution for up distribs : optimization don't stop being harder and restrictions increase with the android versions. So the remaining notification will do the job :) (It is possible to hide it)