quickblox

Invalid Signature Error when sending an authorization request to quickblox via post xml

ε祈祈猫儿з 提交于 2019-12-11 13:48:11
问题 I am trying to learn how to use a service called quickblox for my iphone app backend. I have run into a problem when validating my app's connection with the quickblox service though. In order to authorize the connection I need to get a token from quickblox by sending a post request that contains my app id, auth_key, timestamp, a nonce, and a signature. When I send the post request however, the server replies back with status code 422 that my signature is invalid. The signature is made by

Facebook and Quickblox integration for iOS

谁说我不能喝 提交于 2019-12-11 12:31:49
问题 I am working on an iOS app which uses Quickblox SDK for chatting purpose. Also used Facebook SDK for login purpose. When used facebook login, quickblox uses loginWithSocialProvider method to login using facebook which always returns error. With Facebook api version upto 2.3 I'm able to create account and able to get successful response. But Facebook api version 2.4 and above I'm getting error response even with latest quickblox sdk 2.5 and FB SDK 4.6.0. Please help me figure out why this is

Limiting the amount of sending the presence while integrating Quickblox SDK

*爱你&永不变心* 提交于 2019-12-11 11:18:48
问题 Let me try to explain clearly, I'm using the QucikBlox SDK for Video calls between two users. It's working great. But, I need to send the presence of user to QB server for every 30 seconds. [NSTimer scheduledTimerWithTimeInterval:30 target:[QBChat instance] selector:@selector(sendPresence) userInfo:nil repeats:YES]; This may consume some network connection data of the user. Is there any way to limit this method call?(I don't know whether I'm explaining correct.If any clarifications - please

how to keep user sign in for app life?

情到浓时终转凉″ 提交于 2019-12-11 09:29:25
问题 i'm having problem to keep the user sign in for all my app life, the "sign in" is on the main activity, when start another activity i'm still loged in and i can upload data to quickblox, but after i start another activity and then start again the activy that i uploaded data to quickblox, i get error when try to upload data: "token is required"... Edit: QBSettings.getInstance().fastConfigInit(String.valueOf(APP_ID), AUTH_KEY, AUTH_SECRET); QBUser user = new QBUser("login", "password"); QBAuth

Sign UP oAuth Tokens Quickblox and oAuth

我是研究僧i 提交于 2019-12-11 09:15:09
问题 I'm working the login system with http://quickblox.com/, I've this code to authenticate using social,(twitter this case). var params = { 'provider': "twitter", 'keys[token]': "...", 'keys[secret]': "..."}; QB.login(params, function(err, user){ if (user) { // success } else { // error } }); and this one to sign up var params = { 'login': "emporio", 'password': "somepass"}; QB.users.create(params, function(err, user){ if (user) { // success } else { // error } }); How do I sign up them if they

Xamarin iOS project with reference to binding launches on sim but not on device

假装没事ソ 提交于 2019-12-11 09:13:53
问题 I am creating the monotouch bindings to the Quickblox chat service. I successfully did this on a previous version (1.9.x) but on the 2.0.2 library, having problems getting the new binding to launch on the device. It launches on the simulator fine. Guessing it is a problem with linker flags, but have run out of ideas. The binding project compiles fine. The DLL is created and I can reference it in my host project. Running the host project in the simulator works fine. On an actual device, the

How to retrieve related records on Quickblox custom objects?

假装没事ソ 提交于 2019-12-11 08:22:55
问题 I know how to create relation: QBCustomObject customObject = new QBCustomObject("Comment"); // your Class name customObject.put(fieldHealth, 99); customObject.put("text", "The first film in the series was..."); customObject.setParentId("50aa4d8fefa357fa14000001"); QBCustomObjects.createObject(qbCustomObject, new QBCallbackImpl() { @Override public void onComplete(Result result) { if (result.isSuccess()) { QBCustomObjectResult qbCustomObjectResult = (QBCustomObjectResult) result;

Thread 1: EXC_BAD_ACCESS (code=1, address=0x20) When subView

假装没事ソ 提交于 2019-12-11 08:07:41
问题 I got a strange error. Thread 1: EXC_BAD_ACCESS (code=1, address=0x20) When a View subView on another view. Both v iew object not nil. How do I solve this issue. Edit: I am implementing a video chat code with VOIP. When an incoming call comes and after accept the call. I need to display a screen. This screen is showing fine and other UIElements button etc.. (including button functionalities) everything is working as expected for audio calls. But, in video call after receive the remote user

QUICKBLOX Attempt to invoke virtual method sendMessage on null object reference

六眼飞鱼酱① 提交于 2019-12-11 07:36:34
问题 i am trying to send text message in private dialog, everything works fine until i create private dialog but when i send text message then i get this error "Attempt to invoke virtual method 'void com.quickblox.chat.QBAbstractChat.sendMessage(com.quickblox.chat.model.QBChatMessage)' on a null object reference" @Override protected void onCreate(Bundle savedInstanceState) { final Context context = this; super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); QBSettings

How to catch a new chat message in an app using Quickblox (outside of the ChatView)?

混江龙づ霸主 提交于 2019-12-11 05:08:05
问题 Using Quickblox it is very easy to send and receive messages when you're in the chat view. But what happens when you're not in the chat view and you receive a message? What is the best way to catch that new chat message in the app? should I use notifications and rely on the appDelegate's didReceiveRemoteNotification? Or is there another way? (As I understand, remote notifications can be slower and less reliable than the chat itself). 回答1: You are right, you can use push notifications, if you