Messaging - Pulling?

Hi, I’m running through the iOS PubSubChat sample app at the moment. I’m seeing the following logs being printed out every second. I wonder if the SDK is doing a pulling to get new messages? Are new messages pushed to subscribers when they become available?

2014-04-23 10:17:07.279 PubSubChat[26215:70b] ChatViewController -> responseHandler: RESPONSE = (
) <__NSArrayM>
2014-04-23 10:17:08.283 PubSubChat[26215:70b] ChatViewController -> responseHandler: RESPONSE = (
) <__NSArrayM>

Thanks!
Derek

Hi Derek,

Currently the polling interval is hardcoded. We’re adding a method right now to make it configurable. It is also on our roadmap to allow pub/sub messages to be distributed via push notifications, I assume this is what you’re asking about.

Regards,
Mark

Hi Derek,

The library has been updated on our site. There is now a property in Backendless messaging:

@property (nonatomic) float pollingFrequency;

The default value is 1.0f, but you can change it to any other value (number of seconds between polls).

Regards,
Mark