pusher/libPusher

bindToEventNamed:handleWithBlock: not called on device but works on the simulator.

Closed this issue · 4 comments

Events don't seem to be delivered on the device. Using pre-built version 1.4 running on iOS 7.

@jacobsologub I strongly recommend you use the latest HEAD version or even better, the release/1.5 branch. A new release is due soon.

Switched to libPusher/tree/release/1.5 still the same issue. Works on simulator but does not work on device.

Some more info... Channels are being subscribed successfully and "pusher:pong" events are received after activity timeout.

@jacobsologub could you provide me some example code (or even better an example project) that reproduces this issue so I can investigate?

Specifically, could you show me how you are binding to events? Does event binding work if you use target/action bindings?

@lukeredpath just as I was about to prepare a little test harness for you I had another session debugging my issue and it all seems to be working now. To be honest I have no idea why it's working now, nothing changed code wise on my end, a little disturbing TBH. Could've been a server side issue all along, not sure. Sorry to have wasted your time, I know how annoying it can get when people hit you up with erroneous bugs. Thanks for the help.