RSS Feed
Knowledgebase : QB Assistance > Chat
ARE CHAT MESSAGES STORED? There is a possibility to manage chat history. With QuickBlox You can store, view and retrieve chat history without any additional API calls. More details you can check here http://quickblox.com/developers/Chat/1:1_Chat_history
How can I get extended room information? QuickBlox Chat server supports only short room info at the moment. We suggest using CustomObjects record to wrap Chat room and store any additional room information you need.
HOW DO I KNOW WHETHER THE MESSAGE IS DELIVERED/READ (IOS)? To know if the message was delivered you can use the following solution. When message is received, you automatically need to send message with parameters (custom parameters: put message - deliv...
HOW RECEIVE VIDEO CALLS FROM ANYWHERE IN THE APP? Please refer to http://quickblox.com/developers/Sample-webrtc-ios
HOW TO ADD AN AVATAR AND EXTRA DETAILS TO CHAT USER? Each user has a blob_id field http://quickblox.com/developers/Users#Response_3 Basically this is a link to file in Content Module. You can upload the file into the Content Module and connect it with u...
HOW TO CREATE ONE TO ONE CHAT WITH WEB SDK? As a Chat service QuickBlox uses XMPP-server. WebSDK doesn't have a wrapper for XMPP API, so you will need to include additional XMPP JS library. For our examples, we used Strophe.js (http://strophe.im/strophe...
HOW TO KEEP THE APP ALIVE IN BACKGROUND? QBChat instance has 90 seconds timeout. After a timeout the socket is closing. You need to keep up the connection by sending the (BOOL)sendPresence message to QBChat instance object. This will support the chat wo...
How to retrieve user by ID and set him as an opponent (iOS)? For Chat you don't need full user body, you can send chat messages directly to user ID. More info you can find here http://quickblox.com/developers/SimpleSample-chat_users-ios#Create_new_1-1...
HOW TO SHARE AUDIO/VIDEO WITH SEVERAL IOS DEVICES? QuickBlox has released Quickblox WebRTC iOS SDK You are able to share your screen. For more information please refer to http://quickblox.com/developers/Sample-webrtc-ios#Screen_sharing [http://quick...
I AM USING QBCHATMESSAGE. HOW CAN I GET THE SENDER'S PROFILE PHOTO AND USER ID? You can use message.senderID to get sender's user id. In order to get an avatar do the following: How to update user's avatar http://quickblox.com/developers/SimpleSampl...
MESSAGES ARE NOT DELIVERED ONCE ONE OF USERS GOES OFFLINE. If you use 1 to 1 chat you need to logout from Chat when application goes to background and login again when you go foreground. In this case messages will be delivered without any issues. In c...
HOW CAN I SWITCH THE CAMERA? The camera can be switched during a video call. To implement this option use: cameraView.switchCamera(); For example,locate "Switch" button over cameraView in xml file:
WITH QB CHAT IS IT POSSIBLE TO GET MESSAGES FROM NOT FACEBOOK FRIENDS? For communiction between non-friends you can use QuickBlox Chat as addition. This feature is available in new ChattAR https://github.com/QuickBlox/ChattAR-ios/tree/2.0