XMPP messages lost on Android while switching data connectivity (e.g. turning Wifi of, GSM <-> Wifi switch)

前端 未结 5 459
无人共我
无人共我 2020-12-30 05:40

I\'m developing a chat application in android. Using XMPP server. PHP server has been migrated to ejabber.

My notification works properly in all scenarios. But in o

5条回答
  •  梦谈多话
    2020-12-30 06:02

    You have to create the separate web service for that. so thus why we can handle the history of the sent message. we can manage the offline message.

    XEP-198 is the only solution. make plugin for your server and make that easy to manage the remain message that is lose. there may be other solution but AFAIK, this would be the solution.

提交回复
热议问题