I am working on the xmpp iOS chat client, I have developed application in which chat between two user are working fine.
Now I want to load offline message for the user when he logs in the application. I want it when user go to the conversation screen with particular user.
For example if A user receives message From B. And when user A login the app and start conversation with user B user A should see the old message also.
or if possible I would like to load the recent history from the server in xmpp iOS client.
If anyone has any link or document related xmpp framwork please let me know.
Related
i'm developing using the AspNetBoilerplate Framework version 2.3 SPA
.In order to send notification to specific user while logged in from another device, want to do this by INotificationPublisher to specific ConnectionId is it possible? Or we have to send to all connectionIds?
to clarify my problem:
I want to when for example John is logged in from PC and then logged in from another device, he receive an alert in pc like this "someone logged in from another device..."
I am creating a chat system using sendbird and want to online users in an open chat room on my view. The problem is whenever a new user "joins" an "open channel", sendbird sends me System Message without the user's object.
The only way currently is to call the MemberListQuery to find all online users.
SendBird SDK V3 now triggers "userDidEnter" callback with SendBird user object.
Please take a look at our SDK documentation!
https://docs.sendbird.com/ios
https://docs.sendbird.com/android
Thanks!
Jin
How do i get chat history for Zoipm chat iOS SDKs, i am logging using anonymous user using default controller, is there any pre-config to be set to get this.
From an end-user's perspective, there is no way of seeing a chat history. Each chat is treated more like a ticket as it creates a ticket with the transcript upon completion. A chat transcript can be sent to the end-user.
I suppose the end-user could look through their ticket history and effectively see the chats alongside their other submitted tickets.
I'm building an iOS app that allows users to "invite friends" to fun events they're planning within the iOS app. One way to invite a friend is via SMS (we use Twilio and it sends out the message "John has invited you to Soccer Game" in the background).
Can we do this with FB Messages/Messenger? So if you don't have someone's phone # but you are connected to them via FB, can we send a Messenger message in the background?
(All I've found so far is App Requests but they seem to popup an ugly dialog box asking the user to hit "send" when done).
There is the Chat API, although it´s not built for auto messages but for...well, chats: https://developers.facebook.com/docs/chat/
"Please do not use this API to send spammy messages to users. Facebook
takes user experience and spam extremely seriously and if users report
your app as using the Chat API to spam them, we will disable your
app."
Afaik that is the only way to use the message inbox without any popup, but i would suggest not even thinking about going that way as it would surely be spam (=unrequested advertisement) and Facebook would definitely remove your App sooner or later ;)
I am implementing a chat application for iOS. Here is the scenario:
Two QBUUsers engaged in an active exchange of chat messages.
User1 goes offline for some reason (disconnects or app goes to background). Lets assume that the app called logout on the QBChat instance.
User2 sends a ChatMessage to User1 because he thinks User1 is still online.
I should send a Push Notification to User1 instead, but how do I detect that User1 is no longer available to receive a ChatMessage?
I saw that on StackOverflow someone recommended checking the "last_request_at" property on a QBUUser, but that seems heavy-handed since I have to query the server every time I send a ChatMessage. Also that will not tell me when they logged out of the QBChat instance.
My fallback plan is to track user login/logout on our own app server (not rely on QuickBlox server). Any elegant solution here using the QuickBlox SDK?
You have 2 ways what to do:
1) Use contact list http://quickblox.com/developers/SimpleSample-chat_users-ios#Contact_list
With contact list you can track online status of user for your contact list. Contact list is similar to common friends list like in Facebook.
2) send Push Notifications for every message. If user is offline - he will receive it. If user is online - just ignore this push.