ably / ably-asset-tracking-swift

iOS client SDKs for the Ably Asset Tracking service.
Apache License 2.0
9 stars 6 forks source link

Make publisher.track() and publisher.add() return instantly #534

Closed JakubJankowski closed 1 year ago

JakubJankowski commented 1 year ago

At the moment, if connections to ably are slow, they block publisher.track() and publisher.add(), preventing control from returning to the caller.

To fix this, we should add the trackable to the publisher immediately and return control to the caller - allowing the ably connection startup to happen in the background.

More info in related Android sdk issue #966

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3322

AndyTWF commented 1 year ago

Closing as covered by https://github.com/ably/ably-asset-tracking-swift/issues/563