2.x versions

IMPORTANT INFORMATION: When migrating from 1.x to 2.x versions, please check carefully new iOS, Android and Backend API pages. Also get in touch with your Sales/CPM contact regarding migration process and new license keys.

__

2.1.9 (2022-09-13)

Bug Fixes

  • Android: library could send also trips of not logged in user
  • Android: library was clearing preferences

2.1.8 (2022-06-09)

Bug Fixes

  • Android: JNI crashes on old devices fixed

2.1.7 (2022-06-03)

Bug Fixes

  • Android: UserType was ignored

2.1.6 (2022-05-03)

Bug Fixes

  • Android: auth lib version 1.0.5

2.1.5 (2022-04-25)

Bug Fixes

  • iOS: delete temporary file that was created and not deleted after trip processing

2.1.4 (2022-04-22)

Bug Fixes

  • iOS: event duration is reported as durationSeconds in json

2.1.3 (2022-04-06)

Bug Fixes

  • Android: vehicle ID can be null, default is null

2.1.2 (2022-03-31)

Bug Fixes

  • Android: reading of trip header fixed
  • iOS: renamed some internal classes to prevent name clashing with others Sygic libraries

2.1.1 (2022-03-22)

Bug Fixes

  • AllBuilds: vehicle id is saved into temp meta file to survive kill or crash
  • iOS: uploader service now supports for http error codes 503, 429, 301 retry logic with interval sent by server

2.1.0 (2022-03-11)

Features

  • AllBuilds: License system now checks license validity

2.0.4 (2022-03-10)

Bug Fixes

  • iOS: fixed bug when computing base64 padding for NSData

2.0.3 (2022-03-03)

Bug Fixes

  • iOS: fixed possible race between setting vehicleInfo and start trip

2.0.2 (2022-02-28)

Bug Fixes

  • Android: crash ForegroundServiceStartNotAllowedException on Samsung devices
  • Android: wrong default Driving server URL
  • iOS: updated sygic auth url

2.0.1 (2022-02-23)

Bug Fixes

  • AllBuilds: json trip report 'version' now holds json format version and added 'libraryVersion' for library version that send the report
  • iOS: not setting vehicleId for driving init method results in crash

2.0.0 (2022-02-14)

Bug Fixes

  • AllBuilds: reset number of steps when we get more than 30 in one call and condition for trip start are still fulfilled
  • AllBuilds: respect timeout also when automatic trip detection is off
  • AllBuilds: added vehicleId to VehicleSettings
  • AllBuilds: lib authentication is done by Sygic Auth library
  • Android: DetectorState and TripState changed to enums
  • Android: support for Android 12

Features

  • AllBuilds: added telemetry tracking to library
  • AllBuilds: added VehicleSettings.heightMm, FuelType.Hydrogen, VehicleType.Motorcycle
  • AllBuilds: callback onTripUploaded(UploadTripResult) added
  • AllBuilds: New local trips functionality, accessible via Driving.localTripsManager. It is possible to get trip details (events, segments,...), upload status etc. Local trips must be enabled in Configuration.
  • AllBuilds: Possibility to set TripValidityCriteria (minimal length, minimal duration of a trip). If recorded trip will not meet this criteria, it will be discarded (EventListener.onTripDiscarded will be called) and it will not be sent to server.
  • Android: possibility to set simulation speed

BREAKING CHANGES

  • AllBuilds: changed trip format to support new use cases
  • AllBuilds: removed support of signed user with JWT user ID
  • AllBuilds: Initialization changed to synchronous. Initializer is constructed via constructor instead of Builder. InitStateListener was removed and can be replaced by initStateLiveData
  • AllBuilds: removed deprecated onInitStateChanged(Int) callback
  • Allbuilds: licensing using offline license key
  • Android: DetectorState and TripState changed to enums
  • Android: double timestamps replaced by Date, GpsPosition was removed and replaced by Android Location class
  • Android: old overloads of onTripUploaded callback removed