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 usage of `ConnectionState` and `TrackableState` consistent with Android #626

Closed lawrence-forooghian closed 1 year ago

lawrence-forooghian commented 1 year ago

Note: This is based on top of #629, and shouldn’t be merged to main until that one is.

This changes TrackableState to be a public type which is used to describe the state of a trackable, and ConnectionState to be an internal type which is used to describe the state of the Ably connection. This makes things consistent with Android. See commit messages for more details.

Closes #624.