Send Notification if receiver is offline in Tigase XMPP PubSub ASmarck in Android

Jalpesh Khakhi
Added about 3 years ago

I want to send push notification in the situation when +receiver user is offline using pubsub. However, If user is online then the message send/receives successfully.

I have used Tigase XMPP Pubsub with Asmarck Library in Android.

Please suggest. All your guidance will be appreciated.

Looking forward to your reply.

Replies (2)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 3 years ago

Could you clarify what you want to do?

Do you want to send messages sent to offline usr to PubSub node? If so there new feature in Tigase XMPP Server 7.1.0 which will be released soon called Offline Message Sink

Added by Jalpesh Khakhi about 3 years ago

Yes, that I want to do but with that I also want to do that If UserA sends messages to UserB and UserB is offline then that message stores in one table in pubsub, I want the location of that table and whenever UserB gets online then he/she should received all that message.

Please see below link for more clerification of my point :-

I also want all that missed message by the user.

Please suggest if there is any property I have to set in init.config file or any method with which I can get that.

Thank you.