This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.quickblox.chat; | |
import com.quickblox.chat.model.QBChatMarkersExtension; | |
import com.quickblox.chat.model.QBChatMessage; | |
import com.quickblox.chat.model.QBChatMessageExtension; | |
import com.quickblox.chat.utils.Utils; | |
import org.jivesoftware.smack.PacketListener; | |
import org.jivesoftware.smack.SmackException; | |
import org.jivesoftware.smack.XMPPConnection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------- beginning of /dev/log/system | |
07-31 18:00:47.675 373-373/? I/ActivityManager﹕ START u0 {act=SSO_WITH_FALLBACK cmp=com.quickblox.q_municate/com.facebook.LoginActivity (has extras)} from pid 25675 | |
--------- beginning of /dev/log/main | |
07-31 18:00:47.761 25675-25675/? I/Choreographer﹕ Skipped 38 frames! The application may be doing too much work on its main thread. | |
07-31 18:00:47.894 25675-25675/? D/QBASDK﹕ onActivityResumed0 | |
07-31 18:00:48.065 32566-32566/? I/Keyboard.Facilitator﹕ onFinishInput() | |
07-31 18:00:48.136 373-388/? I/ActivityManager﹕ Displayed com.quickblox.q_municate/com.facebook.LoginActivity: +349ms | |
07-31 18:00:48.565 25675-25675/? D/QBASDK﹕ onActivityStopped0 | |
07-31 18:00:48.995 25675-25675/? D/QBASDK﹕ onActivityResumed0 | |
07-31 18:00:49.050 25675-25675/? D/CALL_INTEGRATION﹕ construct QBVideoChatHelper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07-14 15:24:59.104 4351-4372/? D/dalvikvm﹕ WAIT_FOR_CONCURRENT_GC blocked 21ms | |
07-14 15:24:59.143 4192-4192/com.quickblox.sample.chat E/BroadcastReceiver﹕ BroadcastReceiver trying to return result during a non-ordered broadcast | |
java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast | |
at android.content.BroadcastReceiver.checkSynchronousHint(BroadcastReceiver.java:783) | |
at android.content.BroadcastReceiver.setResultCode(BroadcastReceiver.java:549) | |
at com.quickblox.sample.chat.pushnotifications.GcmBroadcastReceiver.onReceive(GcmBroadcastReceiver.java:17) | |
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424) | |
at android.app.ActivityThread.access$1500(ActivityThread.java:141) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332) | |
at android.os.Handler.dispatchMessage(Handler.java:99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Welcome to #{app.title}</title> | |
</head> | |
<body style="margin: 0; padding: 0;"> | |
<style> | |
<!-- a:hover { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>#{app.title}: password reset</title> | |
</head> | |
<body style="margin: 0; padding: 0;"> | |
<style> | |
<!-- a:hover { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-03-26 12:35:15.910 Snippets[18083:690585] json parsed | |
2015-03-26 12:35:19.593 Snippets[18083:690618] -[QBChat loginWithUser:resource:] -> Connecting to Chat, host: chattuul.quickblox.com, user JID: [email protected]/iPhone6Plus | |
2015-03-26 12:35:20.667 Snippets[18083:690619] QBChat/DidConnect | |
2015-03-26 12:35:20.667 Snippets[18083:690619] -[QBChat xmppStreamDidConnect:] -> Trying TLS... | |
2015-03-26 12:35:21.852 Snippets[18083:690655] -[QBChat xmppStreamDidSecure:] -> isSecure: YES | |
2015-03-26 12:35:22.261 Snippets[18083:690618] QBChat/DidConnect | |
2015-03-26 12:35:23.338 Snippets[18083:690655] -[QBChat xmppStreamDidAuthenticate:] -> user: 1773235, supportsStartTLS: 0 | |
2015-03-26 12:35:23.340 Snippets[18083:690585] Did login | |
2015-03-26 12:35:23.341 Snippets[18083:690657] -[QBChat xmppStream:didSendIQ:] -> IQ SNT: <iq type="get" id="561006823"><query xmlns="jabber:iq:roster"></query></iq> | |
2015-03-26 12:35:23.342 Snippets[18083:690657] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <pre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) ChatManager.m | |
-(void)chatDidNotSendMessage:(QBChatMessage *)message error:(NSError *)error { | |
[self lastMessageFailedWithMessage:message error:error]; | |
} | |
-(void)lastMessageFailedWithMessage:(QBChatMessage*)message error:(NSError *)error { | |
[self.delegate lastMessageSendingFailedWithMessage:message error:error]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)completedWithResult:(Result *)result context:(void *)contextInfo | |
{ | |
NSMutableDictionary *dict = (__bridge NSMutableDictionary *)contextInfo; | |
ChatMessage *message = dict[@"message"]; | |
QBUUser *user = [[DataManager shared] currentUser]; | |
self.isProcessing = NO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FB init Object | |
370094db.build.js:8 User d | |
370094db.build.js:15 App init s | |
370094db.build.js:9 FB status response Object | |
370094db.build.js:6 setting headers on request to https://api.quickblox.com/session.json | |
370094db.build.js:15 QB SDK: Session is created Object | |
370094db.build.js:5 [QBChat]: Status.CONNECTING | |
370094db.build.js:5 [QBChat]: Chat Protocol - BOSH | |
370094db.build.js:6 [QBChat RECV]: <stream:features xmlns="jabber:client">…</stream:features> | |
370094db.build.js:6 [QBChat SENT]: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">…</auth> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReplicaSetStatus{name=null, cluster=ClusterDescription{type=ReplicaSet, connectionMode=Multiple, | |
all=[ServerDescription{address=qb-mongo01-prod:27017, type=Unknown, hosts=[], passives=[], arbiters=[], primary='null', maxDocumentSize=16777216, maxMessageSize=33554432, maxWriteBatchSize=512, tags={}, setName='null', setVersion='null', averagePingTimeNanos=0, ok=false, state=Connecting, version=ServerVersion{versionList=[0, 0, 0]}, minWireVersion=0, maxWireVersion=0}, | |
ServerDescription{address=qb-mongo02-prod:27017, type=Unknown, hosts=[], passives=[], arbiters=[], primary='null', maxDocumentSize=16777216, maxMessageSize=33554432, maxWriteBatchSize=512, tags={}, setName='null', setVersion='null', averagePingTimeNanos=0, ok=false, state=Connecting, version=ServerVersion{versionList=[0, 0, 0]}, minWireVersion=0, maxWireVersion=0}]}} |