This sets the subscribers last known connection state (as provided to its worker specification) and updates trackable states if required - via SubscriberProperties.
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.
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.