Reputation: 2085
Developing an application for android and ios with openfire server with asmack(for android). successfully implemented all stuff(one to one chat also group chat). now stuck in how can I implement notification with openfire server specially users get offline, tried with google but it didn't help. Any help appreciate...
Upvotes: 0
Views: 574
Reputation: 13390
If B gets offline and you want A to know about it. Roster is the thing you need. When users subscribe to each other on roster, then When B goes online/offline, All users who subscribed to B will get to know.
If B gets disconnected from your chat server and A sends some message, and you want to have a notification on B, then you need push notification here. As described by @ShoaibGondal "If you are talking about google push, then that is not supported in Openfire unless you find some plugin online or custom changes in your openfire deployment.– Shoaib Ahmad Gondal"
Upvotes: 1