ably / ably-asset-tracking-swift

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

Subscriber Worker Queue: UpdateChannelConnectionState #586

Open AndyTWF opened 1 year ago

AndyTWF commented 1 year ago

Implement the following worker on the subscriber:

This sets the subscribers last known connection state (as provided to its worker specification) and updates trackable states if required - via SubscriberProperties.

This work could clash with https://github.com/ably/ably-asset-tracking-swift/issues/591 at the subscriber-level, so should probably be done second.

We need to make changes to make Swift behave like the android’s emitStateEventsIfRequired() method, which is planned as part of https://ably.atlassian.net/browse/SDK-3410, so we should do that first.

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-3404