quickblox

Quickblox REST API Unexpected signature on Laravel

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-31 07:32:06
问题 I'm getting the following json response from QuickBlox REST API: { "base": ["Unexpected signature"] } My signature method: private function createSignature($login, $password, $timestamp, $nonce) { $signatureContent = "application_id=" . env('QB_APP_ID') . "&auth_key=" . env('QB_APP_KEY') . "&nonce=" . $nonce . "&timestamp=" . $timestamp . "&user[login]=" . $login . "&user[password]=" . $password; return hash_hmac('sha1', $signatureContent, env('QB_APP_SECRET')); } The Application ID and Auth

chatDidReceiveMessage method not called QuickBlox

流过昼夜 提交于 2019-12-31 03:03:32
问题 I am using QuickBlox-iOS SDK for chatting. Login/Signup is working perfectly. Also I am able to send message but the delegate method - (void)chatDidReceiveMessage:(QBChatMessage *)message; is not getting called. Here's the code I am using to setup chat. Adding the following code in appDelegate : // connect to Chat [[QBChat instance] addDelegate:self]; QBUUser *currentUser = [QBUUser user]; currentUser.ID = [Global sharedInstance].currentUser.ID; currentUser.password = @"password"; [[QBChat

Post not working as expected in angularjs

☆樱花仙子☆ 提交于 2019-12-30 10:06:54
问题 I am using an external api, which works very good in postman but not working when i call from angularjs. Here is how i call from my angular js $http.post('http://api.quickblox.com/users.json', { token: '2ba123a8c43664886c66702fb81b779b094cc7b8', 'user[email]': email, 'user[login]': email, 'user[login]': email, 'user[password]': password }).then(function (results) { console.log('mid'); }); Here is preview of the image It works good. But it is not working when i do from angularjs call Here is

chatDidReceiveMessage: not called

不想你离开。 提交于 2019-12-25 08:48:38
问题 I use QuickBlox in application with private and group public chats. I've added delegate with QBChat's addDelegate: method, send messages and get incoming messages in delegate's chatDidReceiveMessage: method. While with private chats all is working fine, with public groups chatDidReceiveMessage: not triggered, but I see incoming message in log: Message RCV: <message xmlns="jabber:client" id="5677e315a28f9a1aa10007df" to="7084298-30903@chat.quickblox.com/7B2CAB4D-1BCE-44EF-B6E4-2B4E8C5D4DF9"

android quickBlox Video calling code force close on click on receive button click

元气小坏坏 提交于 2019-12-25 04:11:21
问题 Hello all i need to integrate video and audio call using QuickBlox for that i am using This link i am able to login with user name and password But when user clickes on receive video call they get error and force close app on both the device the error is 02-03 18:04:15.726: E/AndroidRuntime(3104): FATAL EXCEPTION: Thread-39405 02-03 18:04:15.726: E/AndroidRuntime(3104): Process: com.quickblox.videochatsample, PID: 3104 02-03 18:04:15.726: E/AndroidRuntime(3104): java.lang.UnsatisfiedLinkError

Send Image Using QuickBlox Chat SDK - Android

旧巷老猫 提交于 2019-12-24 20:35:56
问题 I am working on a Chat Application . For this I am using Quickblox SDk . I have done with text chat till now . Now I am trying to send image in chat . For this , first I select image from SD Card then on image selection it uploads to quickblox server successfully ,then using QBFile reference I get image id and try to show it in chat window . Here is the reference code . private void sendChatMessage(String messageText, InputStream imageStream) { final QBChatMessage chatMessage = new

QuickBlox user sign up and creating a custom table atomicity issue

依然范特西╮ 提交于 2019-12-24 13:49:04
问题 I'm supporting a "gender" field for mobile user registration (iOS). To do so I employ a custom table (named UserResourceTable, URT) to store the gender field (integer), and I rely on the owner of the table being the user to look up the corresponding URT table for each user. Tell me if the following scenario is an correct implementation. On user signup to the service, I have an designated pre-existing app account which create the user account (presumably because someone has to login to the

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 one to one chat connection lost

瘦欲@ 提交于 2019-12-24 04:13:31
问题 I have developed chat application using Quickblox SDK version 0.8.1. Sometimes app loses chat connection to the server so can not send message or receive message even in same chat page. I do have to reload every time this happens even sometimes it does not re-connect. So can any body help me with this. 回答1: To reconnect to Chat please do: iOS way - (void)chatDidFailWithError:(int)code { // reconnect [[QBChat instance] loginWithUser:[LocalStorageController shared].qbUser]; } Android way (SDK 1

QuickBlox Chat - Are messages stored?

浪尽此生 提交于 2019-12-24 01:06:23
问题 I have a doubt about QuickBlox. I want to use the chat functionality but I need to know if the messages exchanged between users are stored in database. because I need to retrieve them to show a list of the users I've talked to and the last message, such as facebook app in iOS and Android. Thanks! 回答1: Here is info about chat history http://quickblox.com/developers/SimpleSample-chat_users-ios#Manage_Chat_History 来源: https://stackoverflow.com/questions/16743379/quickblox-chat-are-messages