Search code examples
iosobjective-cios7delegatesquickblox

Really really strange delegate issue with quickBlox iOS SDK


I'm currently using the new quickBlox 2.0 SDK in my app. I'm testing both on an iphone 5s (i0S 8) and an iphone 4s (iOS 7.1.2).

I'm running the same code on both phones. The delegates get called correctly for the iphone 5s version every time. However, when I perform the same actions on the iphone 4s, the delegates never get called.

Do anyone know what could be causing this?

In the log, I can clearly see that I'm getting data:

 QBChat/didReceiveMessage: <message xmlns="jabber:client" type="qbvideochat_acceptCall" from="1645510-14896@chat.quickblox.com" to="1645761-14896@chat.quickblox.com" id="1441282327"><extraParams xmlns="jabber:client"><sessionID>434152105.631015</sessionID><callType>1</callType></extraParams></message>
[QBVideoChat didReceiveVideoMessage:] -> Message: <message xmlns="jabber:client" type="qbvideochat_acceptCall" from="1645510-14896@chat.quickblox.com" to="1645761-14896@chat.quickblox.com" id="1441282327"><extraParams xmlns="jabber:client"><sessionID>434152105.631015</sessionID><callType>1</callType></extraParams></message>, MessageType: qbvideochat_acceptCall
[QBVideoChat didReceiveVideoMessage:] -> Accepted call

Solution

  • How does it behave in the Simulator? You should probably try to see if it's the iOS version or the device type that's causing the difference.

    Can you debug to see if the delegate is nil?