Closed chibenwa closed 1 year ago
Some findings regarding this topic:
if the tunning is the firebase site, we just add webpush.headers.Urgency
in the request to firebase
the priority level will be stored in the database ( Firebase subscription storage) and the client can change it via jmap FirebaseSubscription/set
Should we do it on tmail site? eg: create two channels (high/normal), with each priority, the WebPushEvent will be sent to HighQueue or NormalQueue
if the tunning is the firebase site, we just add
webpush.headers.Urgency
in the request to firebase
I think this webpush.headers.Urgency
is only for firebase -> another web push gateway -> devices. We will directly use the flow: firebase -> devices (iOS/android).
webpush.headers.Urgency
is only for firebase -> another web push gateway -> devices.
Reread the material again, actually, FCM' web push directly pushes to web browsers. So yeah we can tuning this webpush.headers.Urgency
for web devices also.
If the StateChange contains
EmailDelivery
type => high priorityIf the StateChange do not contain
EmailDelivery
=> normal priorityCF WebPush