You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2018. It is now read-only.
I am using rapns to notify iOS devices of incoming chat messages when the app on the receiver is off. When the message is sent on the sender phone, I see the push notification pop up, but the database does not update the delivered status.
In rapns log it shows
1477 sent to xxxx (pid:20518)
Connected to feedback.sandbox.push.apple.com:2196 (pid:20518)
but in the database list 1477 delivered as false.
Now if I send a second message or if rapns.push gets called anywhere else in the app, it will send a push notification with this message again which why this is causing me a lot of problems.
I am using rapns to notify iOS devices of incoming chat messages when the app on the receiver is off. When the message is sent on the sender phone, I see the push notification pop up, but the database does not update the delivered status.
In rapns log it shows
1477 sent to xxxx (pid:20518)
Connected to feedback.sandbox.push.apple.com:2196 (pid:20518)
but in the database list 1477 delivered as false.
Now if I send a second message or if rapns.push gets called anywhere else in the app, it will send a push notification with this message again which why this is causing me a lot of problems.
The log for this behaviour is
[2014-01-29 16:33:42.545] [INFO] [2014-01-29 16:33:42] [app_name] 1475 sent to 567f512bd87864be86ddb1a5c0096f00fb86db03c29e45c08fbc44bc16d91654 (pid:20518)
[2014-01-29 16:33:43.519] [INFO] [2014-01-29 16:33:43] [app_name] Connected to feedback.sandbox.push.apple.com:2196 (pid:20518)
[2014-01-29 16:33:57.733] [INFO] [2014-01-29 16:33:57] [app_name] Started, 5 handlers. (pid:20515)
[2014-01-29 16:33:57.940] [INFO] [2014-01-29 16:33:57] [app_name] Started, 5 handlers. (pid:20515)
[2014-01-29 16:33:58.361] [INFO] [2014-01-29 16:33:58] [app_name] Connected to gateway.sandbox.push.apple.com:2195 (pid:20515)
[2014-01-29 16:33:58.370] [INFO] [2014-01-29 16:33:58] [app_name] Connected to gateway.sandbox.push.apple.com:2195 (pid:20515)
[2014-01-29 16:33:58.564] [INFO] [2014-01-29 16:33:58] [app_name] 1475 sent to 567f512bd87864be86ddb1a5c0096f00fb86db03c29e45c08fbc44bc16d91654 (pid:20515)
[2014-01-29 16:33:58.577] [INFO] [2014-01-29 16:33:58] [app_name] 1476 sent to 567f512bd87864be86ddb1a5c0096f00fb86db03c29e45c08fbc44bc16d91654 (pid:20515)
[2014-01-29 16:33:59.205] [INFO] [2014-01-29 16:33:59] [app_name] Connected to feedback.sandbox.push.apple.com:2196 (pid:20515)
[2014-01-29 16:40:50.114] [INFO] [2014-01-29 16:40:50] [app_name] Started, 5 handlers. (pid:20518)
[2014-01-29 16:40:50.115] [INFO] [2014-01-29 16:40:50] [app_name] Started, 5 handlers. (pid:20518)
[2014-01-29 16:40:50.709] [INFO] [2014-01-29 16:40:50] [app_name] Connected to gateway.sandbox.push.apple.com:2195 (pid:20518)
[2014-01-29 16:40:50.913] [INFO] [2014-01-29 16:40:50] [app_name] 1476 sent to 567f512bd87864be86ddb1a5c0096f00fb86db03c29e45c08fbc44bc16d91654 (pid:20518)
[2014-01-29 16:40:51.597] [INFO] [2014-01-29 16:40:51] [app_name] Connected to feedback.sandbox.push.apple.com:2196 (pid:20518)
[2014-01-29 16:41:35.677] [INFO] [2014-01-29 16:41:35] [app_name] Started, 5 handlers. (pid:20518)
[2014-01-29 16:41:35.678] [INFO] [2014-01-29 16:41:35] [app_name] Started, 5 handlers. (pid:20518)
Thanks in advance
The text was updated successfully, but these errors were encountered: