quickblox

QuickBlox not sending APNS

蓝咒 提交于 2019-12-02 01:53:38
问题 Suddenly I'm getting an error when sending APNS through QuickBlox, and it's so weird cause it was working pretty well before. After user is logged i'm using TRegisterSubscriptionWithDelegate to register it for APNS, when sending APNS the error is No recipients. At least one user should be subscribed for APNS (Apple Push) (through SDK or REST API) Thought it could be something inside my app but when trying to send APNS in admin panel, got the same error: I've uploaded .p12 certificate and it's

chatDidReceiveMessage method not called QuickBlox

馋奶兔 提交于 2019-12-02 00:53:46
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 instance] connectWithUser:currentUser completion:^(NSError * _Nullable error) { NSLog(@"connect to chat

Quickblox: an issue in deleting content item (picture file / blob)

不羁岁月 提交于 2019-12-01 12:53:22
I am having a weird issue when I try to delete a content item (picture blob item for the user), stored as PNG picture file in the back-end database. The delete proceeds without errors, but gives "422 Unprocessable Entity". What does this mean? The status of the content item seems to be OK and ready when checked in Quickblox admin panel. I have uploaded the content with following API call: [QBContent TUploadFile:imageData fileName:@"profile.png" contentType:@"image/png" isPublic:YES delegate:self]; I am trying to delete the object with following API call: [QBContent deleteBlobWithID:blobID

Quickblox: an issue in deleting content item (picture file / blob)

我们两清 提交于 2019-12-01 09:47:20
问题 I am having a weird issue when I try to delete a content item (picture blob item for the user), stored as PNG picture file in the back-end database. The delete proceeds without errors, but gives "422 Unprocessable Entity". What does this mean? The status of the content item seems to be OK and ready when checked in Quickblox admin panel. I have uploaded the content with following API call: [QBContent TUploadFile:imageData fileName:@"profile.png" contentType:@"image/png" isPublic:YES delegate

Terminating app while signing up a new user in QuickBlox from ios application

末鹿安然 提交于 2019-11-30 09:31:42
问题 While signing up a new userin QuickBlox from ios applicaqtion with login and Password credentials, the app got crashed and the NSLog console shows the error as below, Terminating app due to uncaught exception 'BaseServiceException', reason: 'You have missed the authorization call. Please insert following code inside your application [QBRequest createSessionWithSuccessBlock:errorBlock:]; Before any other code, that uses our service, but after setup credentials. First throw call stack:( 0

Better Way to implement the chat application using XMPP on Android?

戏子无情 提交于 2019-11-29 19:33:54
Hi i want to implement the Chat application in android using XMPP (To avoid the GCM notifications because GCM uses request response process). i have done the 70 perc functionality using Smack library and OpenFire server. but after completion of these i came to know about the QuickBlox SDK . I don't know completely about that but few people are saying that it is good api by seeing the features.. can any one tell me that is it correct way of implementing the chat application using smack for xmpp . or we have any other good api which uses xmpp for android . Flow The Stackoverflow question

Terminating app while signing up a new user in QuickBlox from ios application

柔情痞子 提交于 2019-11-29 16:19:06
While signing up a new user in QuickBlox from ios applicaqtion with login and Password credentials, the app got crashed and the NSLog console shows the error as below, Terminating app due to uncaught exception 'BaseServiceException', reason: 'You have missed the authorization call. Please insert following code inside your application [QBRequest createSessionWithSuccessBlock:errorBlock:]; Before any other code, that uses our service, but after setup credentials. First throw call stack:( 0 CoreFoundation 0x038365e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x02ca48b6 objc_exception_throw +

How to upload the Users profile pic and how to fetch that profile pic from another users device?

假装没事ソ 提交于 2019-11-28 14:14:08
I have a requirement,Lets say there are 3-Users for my app. I want to add an image(Profile pic purpose) to each user so that this image can be visible to other two users who are using the same app. Just like whatsapp profile pics. So for this purpose I did the following things. Step 1 : Logged in as User1 then I added this code to upload image file. After I logged in with User1 credentials and I made Public property as YES while uploading file. NSData *imageData = UIImagePNGRepresentation([UIImage imageNamed:@"arrow.png"]); [QBRequest TUploadFile:imageData fileName:@"arrow.png" contentType:@

Quickblox Google Login

不羁的心 提交于 2019-11-28 14:08:21
I have already implemented Facebook login with my quickblox application, but I was wondering if there was any way to implement Google login as well? There's nothing on their documentation that would suggest that, but I was just wondering if anyone on here has figured out how to do it? Thanks! QuickBlox doesn't support Google+ out of the box like Twitter and Facebook, but, anyway, you can implement Google+ login. For example, you have Google+ email and you would like to use it to login to QuickBlox, here is what you can do: NSString *googleEmail = @""; [QBUsers logInWithUserEmail:googleEmail

How to generate QuickBlox authentication signature in PHP?

有些话、适合烂在心里 提交于 2019-11-28 13:44:08
I want to access the APIs in QuickBlox, but before that we need to authenticate our apps and get a session token, and using session token we can access the other APIs. But the problem is, when I send the authentication request using the required specification given on the QuickBloxwebsite, I am getting the error message: {"errors":{"base":["Unexpected signature"]}} The parameters to generate the signature is: application_id=22&auth_key=wJHd4cQSxpQGWx5&nonce=33432&timestamp=1326966962 And then we convert it in HMAC-SHA format: hash_hmac( 'sha1', $signatureStr , $authSecret); Please help me to