quickblox

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

QuickBlox Session create: Unexpected Signature in Rails App

巧了我就是萌 提交于 2019-12-13 06:59:36
问题 I am trying to create QuickBlox session from Rest API using Ruby on Rails. My current implementation: def qb_signin_params timestamp = Time.now.in_time_zone('UTC').to_i nonce = rand.to_s[2..6] signature_string = "application_id=#{QuickBlox_Application_Id}&auth_key=#{QUICKBLOX_Authorization_KEY}&nonce=#{nonce}&timestamp=#{timestamp}" digest = OpenSSL::Digest.new('sha1') signature = OpenSSL::HMAC.hexdigest(digest, signature_string, QUICKBLOX_Authorization_SECRET) params = Hash.new params[

'{“errors”:{“base”:[“Forbidden. Need user.”]}}'

强颜欢笑 提交于 2019-12-13 05:18:16
问题 Hello everyone i am trying to upload user profile pic it shows me '{"errors":{"base":["Forbidden. Need user."]}}' this error Please let me know what i am doing wrong QBContent.uploadFileTask(profilePic, true, new QBCallbackImpl() { @Override public void onComplete(Result result) { if (result.isSuccess()) { // get uploaded file QBFileUploadTaskResult fileUploadTaskResult = (QBFileUploadTaskResult) result; QBFile qbFile = fileUploadTaskResult.getFile(); int uploadedFileID = qbFile.getId(); //

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

Quickblox video chat saving

走远了吗. 提交于 2019-12-13 04:08:22
问题 I am using QuickBlox iOS SDK for vidoe chating in my app. It works fine. Now I want to record the chat video and save it in camera roll. How can I do that. I have gone through their documentation and implemented this - -(IBAction)record:(id)sender{ // Create video Chat videoChat = [[QBChat instance] createAndRegisterVideoChatInstance]; [videoChat setIsUseCustomVideoChatCaptureSession:YES]; // Create capture session captureSession = [[AVCaptureSession alloc] init]; // ... setup capture session

Can't able to solve Class Not Found Exception with Quick Blox Sample Chat Example

柔情痞子 提交于 2019-12-13 02:59:20
问题 I am trying to solve the error of class not found. I googling from last 2 weeks but cant solve this error.. I try all stackoverflow questions but cant help any to me. 06-18 17:42:32.171: E/AndroidRuntime(17161): FATAL EXCEPTION: main 06-18 17:42:32.171: E/AndroidRuntime(17161): java.lang.RuntimeException: Unableto instantiate activity ComponentInfo{com.quickblox.sample.chat/com.quickblox.sample.chat.ui.activities.SplashActivity}: java.lang.ClassNotFoundException: Didn't find class "com

Unable to remove dialog from dialog list Using QMServicesManager?

大兔子大兔子 提交于 2019-12-13 02:19:14
问题 I'm trying to remove dialog object in QMServicesManager, So when I want to delete the dialog I'm doing the below - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return [ServicesManager.instance.chatService.dialogsMemoryStorage dialogsSortByUpdatedAtWithAscending:NO].count; } - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { return YES; } - (void)tableView:(UITableView *)tableView commitEditingStyle:

Getting random end user from QuickBlox

元气小坏坏 提交于 2019-12-13 00:53:12
问题 I'm developing a social app. For current user, I need to randomly show other users of the app. I first want to use this code to get the number of users: PagedRequest *request = [PagedRequest new]; request.perPage = 1; request.page = 1; [QBUsers usersWithPagedRequest:request delegate:self.proxy]; I noticed that this is the XML returned: <users type="array" current_page="1" per_page="1" total_entries="13"> <user> <blob-id type="integer" nil="true"/> <created-at type="datetime">2013-07-24T06:16

Quickblox session expiration while on background. How to handle it?

你。 提交于 2019-12-12 15:16:58
问题 When the user goes to background, I log out the user from chat. When the user comes back from background, I log the use again in chat. This works well but not every time. Sometimes when the user keeps the app more then 2 hours in background, the session expires and it doesn't seem to revalidate automatically when the user comes back from background, even with this piece of code: [QBSettings enableSessionExpirationAutoHandler:YES]; Should the app revalidate the session/QB login automatically

NoClassDefFoundError in 4.4 kitkat but not in 5.0 Lollipop - Could not find class

南楼画角 提交于 2019-12-12 05:28:47
问题 have an error in my application but I can not find it. Android 5.0 works normally, but in 4.4 of this error below: Could not find class 'com.quickblox.q_municate.utils.ImageUtils$SmartUriDecoder', referenced from method com.quickblox.q_municate.utils.ImageUtils.getImageLoaderConfiguration Shortly after it appears: java.lang.NoClassDefFoundError: com.quickblox.q_municate.utils.ImageUtils$SmartUriDecoder at com.quickblox.q_municate.utils.ImageUtils.getImageLoaderConfiguration(ImageUtils.java:67