3 ms·
Background: XEPs are the protocol building blocks of XMPP. The XSF (XMPP Standards Foundation) are working hard to make XMPP more mobile friendly. (disclaimer:
by imaginator 13y ago
Background: XEPs are the protocol building blocks of XMPP.
The XSF (XMPP Standards Foundation) are working hard to make XMPP more mobile friendly. (disclaimer: I'm an XMPP board member).
There are three problems to solve:
1. knowing when to retrieve messages (push notifications)
2. retrieving messages (message archive management)
3. synchronising messages between devices (what this solves)
More background: XMPP is designed around keeping a connection open to the client and pushing through updates and new messages. These assumptions worked well in a desktop environment on a solid TCP connection. But for power, intermittent network, and mobile OS design reason, holding open a socket isn't ideal.
Push notification work because the OS provider (Apple, Google, Mozilla etc.) keep one socket open and then push through important notifications. This keeps the phone's radio from powering up for silly things like "contact came online/went offline" type messages.
A push notification might be "xyz posted ... ". Your phone needs to now come online and synchronise messages that might have been posted on your tablet or desktop client. Hence XEP-0280. It helps resync messages from other clients.
The XSF is also writing up a push notification XEP that makes it easy for mobile apps to use XMPP as a signalling channel and throw out push notification where necessary.
- etherealG 13y agoThanks for the hard work on this. It's a problem I find particularly bad in my day to day use of chat on various clients across a phone, tablet and laptop.