4 ms·
Notifications need teirs. You have notifications, that are not important, so low priority. But equally you have notifications that are important, those should
by Zenst 8y ago
Notifications need teirs.
You have notifications, that are not important, so low priority.
But equally you have notifications that are important, those should be sent and logged message queue style, so they stay on the send queue until processed and processing acknowledged by the client.
- me551ah 8y agoActually Google does have the concept of priority in Notifications. https://firebase.google.com/docs/cloud-messaging/concept-options https://firebase.google.com/docs/cloud-messaging/concept-opt... . On a Google/Stock Android OS and on some good manufacturers like motorola notifications do work as expected. It's just the custom battery saver stuff that some manufacturers implement on top of Android which causes issues. Google doesn't have much control over the privileged process that manufacturers install on devices.
- dredmorbius 8y agoUser- or sender- determined? One of those never works.
- fprotthetarball 8y agoThe user determines the priority of notifications per-app and per-app-notification type (using notification channels) and configures how the notification is allowed to interrupt them. https://developer.android.com/training/notify-user/channels https://developer.android.com/training/notify-user/channels
- dredmorbius 8y agoThat at least ... stands a chance ... of working. Though in my experience, any notifications is too many.