pusher/libPusher

PTPusherEventReceivedNotification gets posted after action for event is called

JanNash opened this issue · 0 comments

I have built a Service-object to handle push-events with Pusher.
I am subscribed to a private channel.
I have set up individual event bindings, but for logging purposes, I have also set up an Observer
for PTPusherEventReceivedNotification that simply logs every received event without performing any other tasks. Now, I had a crash in an action of an individual event-binding and didn't get the logging.
I think it would be way better for debugging purposes if the Notification would get posted first before the event is dispatched or anything else is done.