Change log

1.9.0 (2020-08-03)

Bug Fixes

  • Android: Driving.initialize was not failing when User ID was not valid JWT token (0acf575)
  • Android: server logging optimized (15882f1)
  • Android: timeouts for all network requests increased to 60 seconds (3b37ece)

Features

  • Android: signed JWT can be used as userId during initialization (85ee46f)
  • iOS: signed JWT can be user as user id during initialization (f38ddeb)

1.8.1 (2020-07-14)

Bug Fixes

  • Android: call onInitStateChanged after deinitialize (28d7f86)
  • Android: correct ACTIVITY_RECOGNITION permission declared in manifest (1b87570)
  • Android: limit for user ID length increased to 8kB (4664d57)
  • iOS: Max length of external user id was increased to 8192 bytes (9172b4d)

1.8.0 (2020-07-13)

Bug Fixes

  • AllBuilds: GPS coordinates are updated in speeding events callbacks (bdc35a1)
  • AllBuilds: Updated pedometer constants (6718849)
  • Android: crash in Logger (ad7fbcc)
  • Android: trip detection is restarted after phone reboot (d9dd7c8)
  • iOS: Fixed memory leak, location manager was not deallocated when deinit was called. (ce46155)
  • iOS: When library is de-inicialized battery monitoring must be turned off (2527003)

Features

  • AllBuilds: GPS coordinates that are sent to server are reduced with modified RamerDouglasPeucker algorithm (27cdb9e)
  • Android: added Driving.deinitialize method (edaa79d)
  • Android: new initialization state STATE_FAILED_INVALID_USER_ID when externalUserId is not valid JWT token (2795098)
  • Android: OS specific logs are now sent to server (757194b)
  • Android: PermissionsUtils.ensurePermissions now requests also ACTIVITY_RECOGNITION permission (231f323)

1.7.3 (2020-07-02)

Bug Fixes

  • iOS: Documentation fix for location in iOS lib. (7273e0f)
  • iOS: Fixed memory leak, location manager was not deallocated when deinit was called. (7d709e7)
  • iOS: When library is de-inicialized battery monitoring must be turned off (c680d65)

1.7.2 (2020-06-24)

Bug Fixes

  • iOS: Location manager when is de-initialized must stop all location updates. (a62e90f)
  • iOS: User agent was nil in request during tokenRefresh, we make sure it is not nil anymore. (78a611e)

1.7.1 (2020-06-23)

Bug Fixes

  • AllBuilds: global overload of operator new with algnment must use delete with alignment (2ed5f38)

1.7.0 (2020-06-23)

Bug Fixes

  • AllBuilds: default memory alignment could cause crashes on some devices (0079219)
  • AllBuilds: Updated log level for logged messages (9fc856a)
  • Android: fixed UserAgent (30910c4)
  • Android: incorrect altitude time could cause problems with simulation (6d354ef)
  • Android: refreshToken could be sent in a loop (a1dde59)
  • Android: serverApi callbacks are called on main thread (5fe24c0)
  • iOS: Fixed crash when refreshing from old token using refreshToken in case when current user refresh token is nil. This might happen during transition from old 1.5 version of lib to 1.6. (255d8d7)

Features

  • Android: Automatic trip detection can be disabled if battery is in low level or phone is in power saving mode (e46b3e3)
  • Android: support of multiple users on one device (00d91e6)
  • iOS: Don't start trips when battery is under certain level or in power saving mode (79e0fe4)

1.6.1 (2020-06-16)

Bug Fixes

  • Android: possible crash if NotificationProvider was null (cb7c8f6)
  • iOS: Fixed nullability declarations (1c35ca3)

1.6.0 (2020-06-15)

Bug Fixes

  • AllBuilds: after each possible start of trip reset for high pass filter must be called. (c7be6f7)
  • AllBuilds: Threshold for confirmation with noise updated (1968a2b)
  • AllBuilds: Threshold for confirmation with noise updated to 0.0002 (851607f)
  • AllBuilds: Trip start time must be smaller than trip end time. Fix when time between gps time and OS time is not in sync. (2f2094a)
  • AllBuilds: when in developer mode, raw data are flushed every 20sec. Added log to data normalizer when difference is > 3sec. (c6a8c71)
  • AllBuilds: When MA is not available, trip start from GPS must not use MA confirmation. It will be started right away. (b7c839e)
  • Android: trip detection notification should not appear when enableTripDetection was not called (0c1918d)
  • Android: trip start/end time could be wrong (8642046)
  • iOS: average speed for speeding event (c5d71d9)
  • iOS: Missing data in SygicTripEvent when speeding event was reported. (07f83d7)

Features

  • AllBuilds: Car crash detection event added. (cc2be53)
  • Android: logs can be uploaded to server. Developer mode must be ON (4a24a96)
  • Android: mock location is accepted when developerMode is ON (96c08ec)
  • Android: motion activity can be disabled in Configuration (57707a7)
  • Android: possibility to run simulation of recorded trip. Use Driving.getInstance().simulationManager to access simulation features. Developer mode must be ON to record trips. (d4e560b)
  • Android: removed raw acc data from events (0d36de3)
  • Android: send raw data via email (ba11011)
  • Android: sensors check in CompatibilityResult that are not required are marked as deprecated (6191ebb)
  • Android: token handling optimizations, lib should do less network traffic (05798f3)
  • iOS: Bearer is refreshed using refresh token if possible. (b164c8c)
  • iOS: Motion Activity can be switched on/off (142f8c4)
  • iOS: Removed raw acc data from events (28426b2)
  • iOS: Sending logs to server (a2f8685)
  • iOS: Simulation from raw accelerometer, gyroscope, gps, altimeter, motion activity data (5b6bb06)