-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
enhancementfeature: activity and notificationServer activity and notificationsServer activity and notificationshotspot: push notificationsPush notification distribution (and, in theory, pull)Push notification distribution (and, in theory, pull)needs infoWaiting for info from user(s). Issues with this label will auto-stale.Waiting for info from user(s). Issues with this label will auto-stale.
Description
If push notifications are not working, e.g. on Fdroid or temporary problems of registration, do we want to poll?
@AndyScherzinger #1560 (comment)
[...] would recommend to have a 10-15 minutes interval to not drain the battery. As a second step we could then of course go for a "smarter" polling looking at the frequency of notifications coming in.
You have to use AlarmManager for F-droid as that is the only thing that currently guarantees the device will wake up. The interval can be decided I guess, but in order to know which notifications to show we'll have to store notifications in the DB and show only ones we haven't shown etc etc.
cwmke
Metadata
Metadata
Assignees
Labels
enhancementfeature: activity and notificationServer activity and notificationsServer activity and notificationshotspot: push notificationsPush notification distribution (and, in theory, pull)Push notification distribution (and, in theory, pull)needs infoWaiting for info from user(s). Issues with this label will auto-stale.Waiting for info from user(s). Issues with this label will auto-stale.