hi.
how can i send a invitition to someone who is offline? And when it was online, be notified.
(((translate.google.com)))
send a invitition to someone who is offline?
-
- Posts: 2
- Joined: 11 Dec 2018, 12:38
Re: send a invitition to someone who is offline?
Hi,
you can't. If the user is offline there is no way to communicate with him/her.
What you could do is write your own server side code to accept invitations for offline users and store them into a database. When the a user comes back online you could check the database and see if there're any pending notifications. If so you can finally send them and let them decide what they want to do.
If you're familiar with SFS2X Extension it's not going to be too difficult to implement.
If not, you can get started here:
http://docs2x.smartfoxserver.com/Extens ... uick-start
Hope it helps
you can't. If the user is offline there is no way to communicate with him/her.
What you could do is write your own server side code to accept invitations for offline users and store them into a database. When the a user comes back online you could check the database and see if there're any pending notifications. If so you can finally send them and let them decide what they want to do.
If you're familiar with SFS2X Extension it's not going to be too difficult to implement.
If not, you can get started here:
http://docs2x.smartfoxserver.com/Extens ... uick-start
Hope it helps
-
- Posts: 2
- Joined: 11 Dec 2018, 12:38
Re: send a invitition to someone who is offline?
Thank you Lapo.
Who is online
Users browsing this forum: Google [Bot] and 65 guests