quickblox

QuickBlox Error with Custom Object (Android)

喜欢而已 提交于 2020-01-05 04:20:11
问题 I want to insert some data in my Custom-Object Class, but I get the error: "Forbidden. Need user.". Here's my code: HashMap<String, Object> fields = new HashMap<String, Object>(); fields.put("user", username); fields.put("name", ada.getTitle()); fields.put("type", ada.getType()); fields.put("text", ada.getText()); fields.put("status", ada.getStatus()); QBCustomObject qbCustomObject = new QBCustomObject(); qbCustomObject.setClassName("Ada"); qbCustomObject.setFields(fields); qbCustomObject

Objective Sharpie binding error: Could not find a part of the path “/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h”

不羁岁月 提交于 2020-01-05 00:49:26
问题 I'm trying to bind a Quickblox iOS SDK to Xamarin, but I'm getting the following error: Could not find a part of the path "/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h". How can I fix this problem? 回答1: As I was suggested at http://forums.xamarin.com/, I installed XCode Command-line tools and now the binding is in progress, I no longer receive this error. 回答2: Do you use this guide? http://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c_libraries We

Quickblox iOS: Connecting 2 users in video chat without initiating a call

試著忘記壹切 提交于 2020-01-02 23:48:41
问题 I have a video chat requirement wherein I have to connect 2 (somewhat related) users through video chat. I am not finding necessary api to call, hence the question. I am basically following this tutorial but it seems it doesn't have everything I need. I do not need explicit "call to this user" sort of function. The user never gets to see entire user list. As a result, I wonder if I could have X number of users calling and another X number of users waiting to accept that call. To summarize: I

Quickblox iOS: Connecting 2 users in video chat without initiating a call

匆匆过客 提交于 2020-01-02 23:48:17
问题 I have a video chat requirement wherein I have to connect 2 (somewhat related) users through video chat. I am not finding necessary api to call, hence the question. I am basically following this tutorial but it seems it doesn't have everything I need. I do not need explicit "call to this user" sort of function. The user never gets to see entire user list. As a result, I wonder if I could have X number of users calling and another X number of users waiting to accept that call. To summarize: I

quickblox makes the same token for development and production

放肆的年华 提交于 2020-01-02 23:14:01
问题 I added quickblox to my app, And put up the development and production APNS certificates when i open the app, in development mode, with the development flag off [QBSettings setIsProductionEnvironmentForPushNotifications:NO] i get a push notification token, sending messages to this token makes the arrive , however, when I want to switch to production mode i put [QBSettings setIsProductionEnvironmentForPushNotifications:YES] and then in the method application

quickblox makes the same token for development and production

雨燕双飞 提交于 2020-01-02 23:13:17
问题 I added quickblox to my app, And put up the development and production APNS certificates when i open the app, in development mode, with the development flag off [QBSettings setIsProductionEnvironmentForPushNotifications:NO] i get a push notification token, sending messages to this token makes the arrive , however, when I want to switch to production mode i put [QBSettings setIsProductionEnvironmentForPushNotifications:YES] and then in the method application

Quickblox: how find out whether the user is online?

点点圈 提交于 2020-01-02 15:48:33
问题 Is there any way to find out whether the Quickblox user is online? I'm using Quickblox iOS SDK. 回答1: There are 2 ways: Using REST API - here is a guide http://quickblox.com/developers/SimpleSample-users-ios#Online.5COffline_status Using Chat contact list http://quickblox.com/developers/SimpleSample-chat_users-ios#Contact_list 回答2: Swift 5 : To get opponent user's Online Status And accurate Last Seen we have to add both users in each others contactList by using addUserToContactListRequest()

'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]'

蹲街弑〆低调 提交于 2020-01-02 07:44:26
问题 In my application this error coming randomly when i send attachment(like Image and video) to other user,it crashes. I am using Quickblox SDK. This is the error.. NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] 2016-04-26 10:22:50.510 Sample-VideoChat[1027:12093] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]' enter code here - (NSInteger

QBPrivateChatManager getting null

[亡魂溺海] 提交于 2020-01-01 17:16:06
问题 I am getting QBPrivateChatManager as null , I am using following code : QBChatService chatService = QBChatService.getIntance(); privateChatManager = chatService.getPrivateChatManager(); getting privateChatManager as null. 回答1: You must to create User session first QBAuth.createSession(new QBUser("garrysantos", "garrysantospass"), new QBEntityCallbackImpl<QBSession>() { @Override public void onSuccess(QBSession session, Bundle params) { // success } @Override public void onError(List<String>

Quickblox REST API Unexpected signature on Laravel

不问归期 提交于 2019-12-31 07:32:29
问题 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