0
votes

I am creating a chat application in android and I am using asmack client to communicate with XMPP server(Openfire server). I want to know what other ways to notify offline user if any message comes and they have internet connection but offline from openfire server. I only think about google cloud messaging please suggest if any other solution.

Thanks !!!

1
How would you know about message if you are not connected with OpenFire server? If you want to send message even user is offline there is only option GCM and or APNS in iOSuser3509456

1 Answers

0
votes

You can do this by adding CallbackOnOffline plugin in openfire. you can find how it work from here

For this You make one service for fire gcm push call.

Another way is create custom plugin in openfire.