quickblox

Video chat in android

若如初见. 提交于 2019-12-04 14:53:43
问题 What i am doing: I am building an android application for 1 to 1 video chatting and i need help here What i did: 1) I came across Quickblox, i tried my best to understand and implement it and i really coudn't get it working 2) I researched about Sipdroid, i cant understand it either What i want: I am in need of either 1) A simple library, with good documentation to implement video chat. 2) An excellent tutorial for implementing video chat in android. Please guide me 来源: https://stackoverflow

didReceiveRemoteNotification not being called when I tap on app icon after receiving a push notification while on background

柔情痞子 提交于 2019-12-04 10:30:58
问题 When my app is on background and I receive a remote notification, two things can happen: I tap on the push notification banner, my apps comes to foreground and didReceiveRemoteNotification is called. I tap on my app icon from the springboard, my app comes to foreground and didReceiveRemoteNotification IS NOT called. So, in the scenario 1, I can update my counter of unread messages inside the app in response to didReceiveRemoteNotification. In the scenario 2, I can't. How can I solve this

Video chat in android

三世轮回 提交于 2019-12-03 09:14:51
What i am doing: I am building an android application for 1 to 1 video chatting and i need help here What i did: 1) I came across Quickblox , i tried my best to understand and implement it and i really coudn't get it working 2) I researched about Sipdroid , i cant understand it either What i want: I am in need of either 1) A simple library, with good documentation to implement video chat. 2) An excellent tutorial for implementing video chat in android. Please guide me 来源: https://stackoverflow.com/questions/22626399/video-chat-in-android

didReceiveRemoteNotification not being called when I tap on app icon after receiving a push notification while on background

℡╲_俬逩灬. 提交于 2019-12-03 06:51:42
When my app is on background and I receive a remote notification, two things can happen: I tap on the push notification banner, my apps comes to foreground and didReceiveRemoteNotification is called. I tap on my app icon from the springboard, my app comes to foreground and didReceiveRemoteNotification IS NOT called. So, in the scenario 1, I can update my counter of unread messages inside the app in response to didReceiveRemoteNotification. In the scenario 2, I can't. How can I solve this using Quickblox? As one possible variant: @implementation AppDelegate - (BOOL)application:(UIApplication *

How to filter quickblox user based on his phone number?

不打扰是莪最后的温柔 提交于 2019-12-02 17:48:42
问题 I'm able to filter users with their phone numbers using [QBRequest usersWithPhoneNumbers:] method, but having problem with following scenario. Suppose, I've a quickblox user with 1234567890 phone number in my app. Now, in my contact list, I've the same phone number but with +91 (caller code of India), so the number I in my phone book is, +91 1234567890 , once I'll fetch all my contacts from phone book, it'll be look like, 911234567890 ( + and space will be removed), and I'll query for

How to check whether session live or expired in Quickblox iOS SDK?

感情迁移 提交于 2019-12-02 10:34:59
I know that, any session will be expired after last request (made before 2 hours) to the Quickblox server. When I create a session, I'm able to find [QBBaseModule sharedModule].tokenExpirationDate but I'm not sure how it works and how should I check for whether session is live or expired? How to check whether session is live or expired? If I create a session, I'll get [QBBaseModule sharedModule].tokenExpirationDate for next 2 hours, now within an hour I'll made a request to the server, would it update [QBBaseModule sharedModule].tokenExpirationDate date too? By checking tokenExpirationDate .

Hello i am using Quickblox API to chat in my application. But i have issue related password length

大兔子大兔子 提交于 2019-12-02 06:40:55
问题 Hello i am using Quickblox API to chat in my application. But i have issue related password length. I want to set minimum password length 5. By default its minimum length is 8. Is it possible to set password length 5 with Quickblox in ios? And if possible then give me right solution. 回答1: Yes, min password length is 8. If you need 5 - you can add 3 extra characters, for example NSString *password = [NSString stringWithFormat:@"pwd%@", realUserPassword]; 来源: https://stackoverflow.com/questions

How to filter Quickblox users?

大憨熊 提交于 2019-12-02 05:00:13
I want to filter my application users based on their phone number or email, but I don't want exact match, instead part of the email or part of the number users should return in response. Is there a way in Quickblox iOS SDK? Suppose, I've some quickblox users like below : ID NAME Email Address Mobile Number User1 | yuyuqabc@somedomain.com | +91-12345-67890 User2 | qerqrorp@somedomain.com | +1-123-000-7891 User3 | xyzabcqry@somedomain.com | +64-123-456-78 Now the filter should apply like this, if I want to query on email, which contains "abc" then should return 1st and 3rd user. if I want to

Quickblox messaging fetch last n messages

放肆的年华 提交于 2019-12-02 03:54:35
问题 I'm using the Quickblox iOS SDK for instant messaging in my app. When a user logs in I retrieve the list of messages. I am trying to retrieve the last N messages. I use extended request parameters as specified in this document: http://quickblox.com/developers/SimpleSample-chat_users-ios#List_chat_messages This call retrieves the first 100 messages, not the most recent ones. I also checked out the list of parameters to send from here: http://quickblox.com/developers/Chat#Retrieve_messages

Bad Authentication Data QuickBlox - Android

蓝咒 提交于 2019-12-02 03:03:17
I am working on QuickBlox SDK , Using this SDK I am trying to login on Facebook . I have visited some helpfull links on stackoverflow like this , but it didn't help me . Here is my code snippet . QBAuth.createSession(new QBEntityCallbackImpl<QBSession>() { @Override public void onSuccess(QBSession session, Bundle params) { String token = session.getToken(); QBUsers.signInUsingSocialProvider(QBProvider.FACEBOOK, token, null, new QBEntityCallbackImpl<QBUser>() { @Override public void onSuccess(QBUser user, Bundle args) { Toast.makeText(getApplicationContext() , "Success" ,Toast.LENGTH_SHORT)