quickblox-android

How to send a message in offline using quickblox sdk ios like whatsapp

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 10:14:58
问题 How to send a message in offline using quickblox 回答1: You can send common message and offline opponent will get push notification. If you mean sending message without login to the chat, you can send message via REST, use next snippet for Android: QBChatMessage qbChatMessage = ...; QBRestChatService.createMessage(qbChatMessage, true).perform(); 来源: https://stackoverflow.com/questions/45972716/how-to-send-a-message-in-offline-using-quickblox-sdk-ios-like-whatsapp

Quickblox Android: Total unread messages count request

天大地大妈咪最大 提交于 2019-12-13 07:01:27
问题 I have seen that in the iOS sdk and the API I can get the total unread messages count, but I couldn't find a way to do the same with the Quickblox Android SDK. Is there a way to achieve this? I need something similar to this but for Android instead of iOS: let dialogsIDs: NSSet = NSSet(array: ["55fae39ca28f9a701d0058fb"]) QBRequest.totalUnreadMessageCountForDialogsWithIDs(dialogsIDs as! Set<String>, successBlock: { (response: QBResponse, count: UInt, dialogs: [String : AnyObject]?) -> Void in

Bluetooth support for QuickBlox Android SDK

夙愿已清 提交于 2019-12-13 04:18:28
问题 Is there a bluetooth support for the Android API from QuickBlox? This has already been asked a few times, but all without answer. The corresponding support for iOS was introduced already in March 2016. I have tested with 2 SDK versions (SDK 3.2 and 3.4), but still get the same problem: I could not get any sound from the Bluetooth headset. The same code works easily with a wired headset. In addition, the Bluetooth headsets have worked with our test device, but only until the start of the video

Could not find com.android.databinding:baseLibrary:3.0.0

给你一囗甜甜゛ 提交于 2019-12-11 16:18:27
问题 Android Quickblox Demo App unable to run while sync it always shows error "Could not find com.android.databinding:baseLibrary:3.0.0." Error : Required by: project :sample-custom-objects Could not find com.android.databinding:baseLibrary:3.0.0. Searched in the following locations: file:/O:/AndroidSDK-2.3.3/extras/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom file:/O:/AndroidSDK-2.3.3/extras/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0

Parcelable encountered IOException writing serializable object [QUICKBLOX DIALOG]

試著忘記壹切 提交于 2019-12-08 07:54:31
问题 I am facing an issue in quickblox since 15th April, when Quickblox updated SDK for android to 2.5.2. The problem that i noticed is like, if i have customData parameter filled for a dialog, then it throws the IOExeption mentioned below. else no issues. Dialog that casues no issues. QBDialog{id=xxxx, created_at=2016-19-04 11:36:54, last_msg_user_id=xxxx, occupants_ids=[xxxx, xxxx, last_message=hey, last_message_date_sent=1461046124, type=PRIVATE, name=xxxx, room_jid=null, user_id=xxxx, photo

Qucikblox Error: [Bad Authentication data] for twitter login in Android

我只是一个虾纸丫 提交于 2019-12-07 03:03:53
问题 I had integrated the Quickblox SDK V2.2.5 in my android application to work with Social Integration Twitter but it throws error: '{"errors":["Bad Authentication data"]}' Here following is my code:- // If in the below code I use static TOKEN & TOKEN-SECRET generated by my iOS app then it works well, whereas it is not working with Android generated TOKEN & its SECRET. QBUsers.signInUsingSocialProvider(QBProvider.TWITTER, preferences.getTwitterToken().trim(), preferences.getTwitterTokenSecret()