radarlabs / radar-sdk-js

Web JavaScript SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
42 stars 11 forks source link

Set default mode for Trip #99

Closed JoRoRadar closed 1 year ago

JoRoRadar commented 1 year ago

When performing a track call after a trip has been started the track call retreives the tripOptions from storage. The track call requires the 'mode' to be set despite it being optional from a trip perspective. We need to set the default mode into the storage to ensure /track works.