Difference between revisions of "Push notifications"

Jump to navigation Jump to search
250 bytes added ,  19:18, 4 February 2023
 
Line 38: Line 38:
To be clear: without that entitlement neither message retraction nor XEP-0333 read markers can be implemented!
To be clear: without that entitlement neither message retraction nor XEP-0333 read markers can be implemented!
And if an app has the entitlement: why bother delivering some stanzas out of band and running into the ordering problem if the app could as well connect to the xmpp server in the background and retrieve all pending stanzas in the right order?
And if an app has the entitlement: why bother delivering some stanzas out of band and running into the ordering problem if the app could as well connect to the xmpp server in the background and retrieve all pending stanzas in the right order?
Sidenote: Signal does exactly that: it uses push only to wake up the app and then fetches the messages using a dedicated network connection, like Monal does: https://github.com/signalapp/Signal-iOS/blob/main/SignalNSE/NotificationService.swift#L236
23

edits

Navigation menu