ably / ably-asset-tracking-swift

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

Publisher example: Add a setting for logging `LocationHistoryData` JSON #517

Closed lawrence-forooghian closed 1 year ago

lawrence-forooghian commented 1 year ago

While testing a fix for #425, I wanted to have access to the location history data in a log message.

This adds a switch in a new "Developer settings" section of the Settings page, which when turned on will emit a JSON serialization of the location history data when it’s received from the SDK. It’s turned off by default, because it's only for my specific use case.