Add support for XEP-0352: Client State Indication
Add support for XEP-0352: Client State Indication to client library.
I think it should be preferred over protocol used for mobile optimizations as it is standarized version and optimization logic still may be changed on server side - client do not need to be aware of currently used logic.
#3 Updated by Andrzej Wójcik over 2 years ago
- Status changed from New to Closed
- Target version set to 3.2.0
- % Done changed from 0 to 100
I implemented support for this XEP as
ClientStateIndicationModule which needs to be registered. When it's methods are called then proper notification will be delivered to server. Calling methods
active()@, @inactive() or
setState(boolean active) needs to be done by client.