RocketChat / Rocket.Chat.Android

Legacy mobile Rocket.Chat client in Kotlin for Android
https://rocket.chat
MIT License
869 stars 554 forks source link

Simple GCM-free poll-based notifications #2267

Open marmistrz opened 5 years ago

marmistrz commented 5 years ago

Describe the feature you'd like

Currently Rocket.Chat lacks any notification capabilities on GMS-free devices. While creating a robust and battery-efficient notification system is a lot of work, the first step to bridge the gap could be what Riot does.

Precisely, the app could just do simple HTTP poll in user-defined intervals. This allows the user to somehow balance the trade-off between battery consumption and notification delay and shouldn't require a lot of work on the application side.

For example, for my use case, 2 hour notification delay would be acceptable and polling every 2 hours should not affect the battery life too much.

JanZerebecki commented 4 years ago

To make this easier to find: This is an alternative to push notifications.

reetp commented 4 years ago

Please read this: https://github.com/RocketChat/Rocket.Chat.Android#important---please-read-this-first

And this: https://rocket.chat/2019/10/11/moving-mobile-apps-to-react/

All development has ceased on this repo. Please look at the React Native client.

https://github.com/RocketChat/Rocket.Chat.ReactNative