element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Implement SSE (Server Sent Events) as alternative to Google FCM for Push notifications #3152

Open MurzNN opened 5 years ago

MurzNN commented 5 years ago

Here https://f-droid.org/ru/2018/09/03/replacing-gcm-in-tutanota.html is good article, describing SSE (Server Sent Events) as alternative to Google FCM for Push notifications.

Riot-Android F-Droid release miss push notifications and use long polling, that eats battery. Can we implement SSE (Server Sent Events) as alternative to Google FCM for Push notifications in F-Droid version of Riot-Android?

MurzNN commented 5 years ago

Seems Matrix protocol plans to add SSE support, looking at https://github.com/matrix-org/matrix-doc/issues/2024 and PR https://github.com/matrix-org/matrix-doc/pull/2108