ably / ably-asset-tracking-swift

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

Record location history data and expose it in publisher API #471

Closed lawrence-forooghian closed 1 year ago

lawrence-forooghian commented 1 year ago

Note this is based on #452, but only so that I can base #457 on top of this one.

The implementation is roughly taken from Mapbox.kt of the Android asset tracking codebase at d61ca7f.

This increases the complexity of DefaultLocationService, and I would have liked to have written tests for this new functionality, but the class currently has no tests and it would require a chunk of work to make it testable (we need to mock out Mapbox). So I’ve created a separate issue #456 for writing tests for this class.

Closes #111.