quickblox-ios-sdk: Push-notifications Not working sometimes

New Issue Checklist

  • [yes ] I have read the Documentation
  • [ yes] I have searched for a similar issue in the project and found none

Environment details

Info Value
iOS Version 11.3
Quickblox iOS SDK version 2.15
QuickbloxWebRTC SDK version e.g. 2.2.1
Xcode Version 9.2
Repro with our demo sample e.g. does it happen with our demo sample?

Did this work before? Yes, it was working before… now its not working

Expected behavior it should send push notifications in my devices for the chat.

Actual behavior I am not receiving push notifications 23237017_log.json.gz 23237043_log.json.gz

in my device.

Logs

Please use the following template for logs:

To enable full logs use the following code:

[QBSettings setLogLevel:QBLogLevelDebug];
[QBSettings enableXMPPLogging];
Title for logs

// Your logs here
2018-03-29 21:49:53:073 Feedback[3051:a22b] RECV: from="68404_5aba4643a28f9a2f32feb268@muc.chat.quickblox.com/46058193" to="46058193-68404@chat.quickblox.com/8D346020-DD15-401F-8707-D4D1F6BA57F0">Himessage_type1textBfirstname Blastname15223403915aba4643a28f9a2f32feb2685abd1227bfea13eb0b0041bc
2018-03-29 21:49:53:073 Feedback[3051:a22b] RECV: 
2018-03-29 21:49:53:079 Feedback[3051:e307] SEND: 
2018-03-29 21:49:53:085 Feedback[3051:1403] SEND: to="46058193-68404@chat.quickblox.com" type="chat" id="5abd1229bfea13eb0b0041be">5aba4643a28f9a2f32feb268
2018-03-29 21:49:53:192 Feedback[3051:e307] SEND: 
Optional("\r   Error reasons\n    errors =     (\n        \"No one can receive the message\"\n    );\n}")
2018-03-29 21:49:53:193 Feedback[3051:1313] SEND: 
user10@accessfeedback.com
feedback_p_10
Optional("The operation couldn’t be completed. (com.quickblox.chat error -1006.)")
2018-03-29 21:49:53:899 Feedback[3051:e307] RECV: 
Optional("You are already connected to chat.")
2018-03-29 21:49:54:299 Feedback[3051:4d23] RECV: from="46058193-68404@chat.quickblox.com/8D346020-DD15-401F-8707-D4D1F6BA57F0" to="46058193-68404@chat.quickblox.com" id="5abd1229bfea13eb0b0041be">5aba4643a28f9a2f32feb268
2018-03-29 21:49:54:299 Feedback[3051:4d23] RECV: 
2018-03-29 21:49:54:300 Feedback[3051:4d23] SEND: 

Steps to reproduce the behavior

Any others comments

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 57

Most upvoted comments

@harirao001 this comment:

Hi @pro100andrey , It is started working. I actually don’t know how but the last change which I made in admin panel was to re-enable Enable automatic notifications for offline users from the Chat > Alerts.

I’ve first disabled it and then enable it again. And the push notification has started working fine.

Thank you for the support.