iOS

[ 2.0.1 ] - 2024/04/23

Fixed

  • TripAnalysis: Fix of rare crashes that could occur when accident detection service is called

[ 2.0.0 ] - 2024/04/10

This is a major version of the DriveKit SDK.

There is no breaking changes, except the deletion of methods and properties already marked as deprecated for more than a year.

Added

  • TripSimulator: Add the new tripWithCrashStillDriving dataset to simulate a trip with a confirmed accident after which the driver continues to drive. Learn more here.

Changed

  • Project: The internal modules are now automatically initialized. It means that you no longer have to initialize the modules in the didFinishLaunchingWithOptions method of your AppDelegate. Read more via the Quick start part.

  • DriverData: Add new ignoreItemsWithoutTripScored parameter for getDriverTimelines() method. If set to true, the returned timeline data will not contain items (DKAllContextItem and DKRoadContextItem) where there are only unscored trips. Learn more here.

Deleted

  • Core: The deprecated delegate is now deleted.

  • DriverData: Deprecated methods saveTrainTrip(…) and getTimelines() are now deleted.

[ 1.41.2 ] - 2024/04/23

Fixed

  • TripAnalysis: Fix of rare crashes that could occur when accident detection service is called

[ 1.41.1 ] - 2024/03/08

Changed

  • TripAnalysis: In addition to phone compatibility, isCrashDetectionAvailable now measures whether the accelerometer is working properly and whether access to the crash detection feature is enabled. Read more

Fixed

  • TripAnalysis: Fix of rare crashes that could occur if the acceleration values are too high or in the case of concurrent access to a data array.

[ 1.41.0 ] - 2024/02/07

Changed

  • TripAnalysis: From this version, the callback tripPoint() is also triggered during the stopping state.

  • DriverAchievement: New method to get the number of badges: total number, number of badges collected and number of badges remaining. Read more

Fixed

  • Core: Bluetooth access is only requested when mandatory.

[ 1.40.1 ] - 2024/02/02

Fixed

  • Core: Avoid possible conflict between DriveKit and other modules handling multiple UNUserNotificationCenterDelegate implementations, like Firebase Messaging module for React Native

[ 1.40.0 ] - 2024/01/17

Changed

  • Vehicle: DriveKit accepts new values for engine index parameters: Biofuel (6), Bi-fuel gasoline bioethanol (7), Dual-fuel gasoline NGV (8), Dual-fuel gasoline LPG (9), Not available (10) and Hydrogen (12)

Added

  • TripAnalysis: Add the config property to retrieve the current module configuration.

  • TripAnalysis: Add the getTripResponseStatus() method to ease the access to the status and data of a completed trip.

  • Vehicle: Documentation of the main methods included in the DriveKit internal component. See Introduction

[ 1.39.0 ] - 2023/12/06

Changed

  • TripAnalysis: New log message to indicate when trip analysis is postponed because the smartphone has no internet connection.

  • TripAnalysis: Some TripListener methods are now optional: tripPoint, beaconDetected, significantLocationChangeDetected, sdkStateChanged, potentialTripStart, crashDetected and crashFeedbackSent. If you don't use these methods, there's no need to implement them anymore.

Fixed

  • TripAnalysis: Store trip listeners as weak references to prevent memory leak

[ 1.38.0 ] - 2023/11/07

Added

  • Core: Add new DKDeviceConfigurationDelegate to get informed when permissions and sensors status have changed. Read more.

Changed

  • Core: Improved logs with an information message if the Core, TripAnalysis or DriverData modules are initialized multiple times.

[ 1.37.0 ] - 2023/10/19

Changed

  • Vehicle: Add Plug-in hybrid gasoline engine index.

  • TripAnalysis: Improved detection of phone distractions.

[ 1.36.2 ] - 2023/09/27

Added

  • Core: DriveKit detects critical changes that can disrupt trip recording (permissions status, sensors and user logout). This information is included in the diagnostic log file and shared with the DriveQuant platform. Check the updated documentation to enable this functionality.

[ 1.35.0 ] - 2023/09/18

Changed

  • All DriveKit components now support iOS 17.

Added

  • Vehicle: New service to replace a vehicle.

Breaking Changes

  • iOS 11 is no longer supported.

[ 1.34.0 ] - 2023/07/18

Added

  • DriverData: The DriveData component includes detailed data describing the user's profile. The driver's profile is based on driving habits.

[ 1.33.0 ] - 2023/06/12

Changed

  • TripAnalysis: Several TripListener can now be added independently and after module initialization. This makes it easier to use multiple trip listeners in your project if you need more than one.

[ 1.32.2 ] - 2023/05/23

Changed

  • TripAnalysis: Enrich TripVehicle object.

[ 1.32.1 ] - 2023/05/09

Added

  • DriverData: The timeline data has been extended to include the variables needed to display driving conditions: distance category of trips, weather, day/night trips and week/weekend trips.

[ 1.31.1 ] - 2023/03/28

Fixed

  • BeaconUtils: Check that the method does not return an empty array of beacons to ensure that the beacon is powered and nearby the smartphone when pairing with the vehicle.

  • Core: Improve DriveKitLog content and management.

  • Vehicle: the changeBeacon function has been optimized.

[ 1.30.0 ] - 2023/02/06

Added

  • TripAnalysis: Add allowBeaconTripStart parameter to disable beacon trip start (Read more).

  • TripAnalysis: Improve temporary trip saving mechanism when a beacon or a Bluetooth device is required.

  • TripAnalysis: Logging of trip cancellation mode when the Bluetooth device is missing

Changed

  • DriverData: Trip synchronisation time was significantly reduced.

[ 1.29.0 ] - 2023/01/16

Changed

  • DriverData: Add fuelSaving values into Timeline

[ 1.28.2 ] - 2022/12/09

Added

  • TripAnalysis: Add a method to get the startMode of the current trip.

Fixed

  • TripAnalysis: Fix enabling of autostart mode if activateAutoStart method was called before the user was connected to DriveKit

[ 1.28.1 ] - 2022/11/03

Fixed

  • TripAnalysis: Fix a very rare background crash while monitoring geozone on the main thread during SDK initialization.

[ 1.28.0 ] - 2022/10/17

Fixed

  • TripAnalysis: Remove registered geozones on reset.

Added

  • TripAnalysis: New configuration to cancel or enable trip recording when the Bluetooth device paired with a vehicle is not connected to the smartphone.

  • Core: Add a function to delete a user account

  • Group: New module to manage driver’s groups

[ 1.27.0 ] - 2022/09/13

Changed

  • All DriveKit components now support iOS 16.

  • TripSimulator: Add bus preset trip.

Breaking Changes

  • iOS 10 is no longer supported.

  • ARMv7 is no longer supported.

  • Bitcode is no longer supported.

[ 1.26.0 ] - 2022/07/20

Changed

  • Vehicle: We have improved error messages and synchronisation in the case of deleted vehicles.

[ 1.25.0 ] - 2022/07/01

Added

  • BeaconUtils: New module for beacon management (detection, battery level measurement and distance estimation).

Changed

  • TripAnalysis: The beacon's battery level is measured at each trip.

[ 1.24.0 ] - 2022/06/14

Fixed

  • Core: Improve DriveKit initialization: the access service is not called until the userId is not configured.

Changed

  • DriverData: Added speeding duration, speeding distance and ecodriving sub-scores into the timeline data.

  • DriverData: Added energy and energy consumption for electric vehicles.

[ 1.23.1 ] - 2022/05/18

Fixed

  • Core: Improve notification management.

Changed

  • TripSimulator: Update stimuli in the trip simulator.

[ 1.23.0 ] - 2022/05/09

Added

  • DBTripAccess: Add a method on TransportationMode to indicate whether or not it is an alternative travel mode.

Fixed

  • TripAnalysis: Fix an error that, in a rare case, could lead to a data loss during a trip repost.

[ 1.22.0 ] - 2022/04/20

Changed

  • TripAnalysis: Improved reverse geocoding of departure and arrival addresses.

[ 1.21.0 ] - 2022/04/11

Changed

  • TripAnalysis: The "working hours" feature brings more flexibility and lets you choose to label as business or personal a trip performed during an unchecked day.

  • Trip analysis: The collection of GPS data around the collision detection event has been improved.

[ 1.20.1 ] - 2022/04/08

Added

  • TripAnalysis: All DriveKit users can now get a built-in crash detection feature integrated in the Trip Analysis component. This function analyzes the motion sensors during the trip recording to detect a collision.

  • TripSimulator: Add a new trip with a crash to simulate an accident.

Changed

  • Core: Improve security of sensitive data.

  • All DriveKit components: To better understand the SDK lifecycle and to help you check your integration we have enriched and improved the activity logs.

[ 1.19.1 ] - 2022/02/22

Fixed

  • TripAnalysis: we have improved the measurement of the time and duration for incoming calls used to compute the driver's distraction score.

[ 1.19.0 ] - 2022/01/24

Added

  • TripAnalysis: add a working hours management feature to control the time period in which automatic trip recording is enabled.

[ 1.18.0 ] - 2022/01/10

Added

  • DriverAchievement: New phone call badge to encourage drivers to reduce distracted driving.

[ 1.17.0 ] - 2021/12/06

Added

  • DriverAchievement: Add calls in streaks.

[ 1.16.1 ] - 2021/11/23

Changed

  • Core: Activate logs by default.

[ 1.15.1 ] - 2021/10/14

Added

  • Core: Sensors availability are now returned in authentication service.

  • Driver Data: Add functions to manage manual trips.

[ 1.14.0 ] - 2021/09/21

Changed

  • All DriveKit components now support iOS 15.

[ 1.13.1 ] - 2021/09/15

Changed

  • DriverData: Better management of reverse geocoding.

[ 1.12.3 ] - 2021/07/23

Added

  • New DriveKit component to implement a driving challenge in your app.

[ 1.11.2 ] - 2021/05/07

Fixed

  • TripAnalysis: Manage phone calls during StartingState.

Added

  • TripAnalysis: Add configuration to disable motion and fitness permissions.

[ 1.11.0 ] - 2021/04/05

Added

  • Driver Data: Synchronize speeding data in local database.

Changed

  • Trip Analysis: Optimized local database synchronization for new trip.

[ 1.10.0 ] - 2021/03/03

Added

  • DriverData: phone distraction indicators update (new scoring and call events).

Changed

  • DriverData: Improved deleted trip synchronisation if the user is connected to multiple smartphones.

Fixed

  • TripSimulator: Fix Cocoapods configuration to add missing resources.

[ 1.9.1 ] - 2021/01/20

Added

  • Trip Analysis: Retrieving new data for the identification of distracted driving.

  • Driver Data : Add function to declare transportation mode.

  • Driver Data : Synchronize maneuver and evaluation with trips.

[ 1.8.1 ] - 2020/11/26

Added

  • Driver Data: The driver synthesis data and timeline of scores can be synchronised and used from the Driver Data component.

  • Trip Analysis: It is now possible to add specific data within a trip's post.

[ 1.7.0 ] - 2020/10/28

Added

  • Trip Simulator: We have introduced a new component able to simulate trips in order to help your mobile app testings.

[ 1.6.5 ] - 2020/09/29

Fixed

  • Build issue using Xcode 12.

[ 1.6.3 ] - 2020/09/22

Fixed

  • Modules are accessible from Objective C code.

Added

  • DriveKit SDK now supports Xcode 12.

Breaking Change

  • We now use the XCFramework distribution format recommended by Apple. For the update we recommend that you follow the method described here.

[ 1.6.0 ] - 2020/08/25

Added

  • DriverAchievement: New feature Rankings.

[ 1.5.0 ] - 2020/06/24

Added

  • DriverAchievement: New feature for collection of driving badges.

  • Vehicle: New feature to set-up a truck.

Changed

  • Vehicle: Add new car brands.

Fixed

  • Trip Analysis: Fix beacon scan validation in manual mode.

[ 1.4.3 ] - 2020/05/20

Fixed

  • Trip Analysis: Improved resynchronization of the autostart mode.

[ 1.4.2 ] - 2020/04/29

Fixed

  • Trip Analysis: In some cases, car bluetooth is not detected during the trip.

[ 1.4.0 ] - 2020/04/20

Added

  • New Vehicle component: Manage vehicle synchronization with local database, detection mode configuration of vehicle, and functions to pair a beacon or a bluetooth device to the vehicle.

  • Core: Add log configuration to remove log from console.

[ 1.3.7 ] - 2020/03/27

Changed

  • Build version for Xcode 11.4

  • Trip Analysis: Update share position service with canceled events

Fixed

  • Trip Analysis: Fix distance calculation in TripPoint returned via TripListener

[ 1.3.3 ] - 2020/03/06

Added

  • New Driver Achievement SDK with streak features

  • Trip Analysis: Add new method in TripListener protocol to get SDK state changed. More detail here.

Changed

  • DriveKit SDK are now available on Cocoapods master repo, Github path and tag are no longer needed in podfile and dependencies are now automatically managed

Fixed

  • Core: Fix authentication issue when token is invalid.

Breaking changes

  • Trip Analysis: Vehicle class becomes TripVehicle class in order to avoid class conflict

  • Driver Data: Add new module DriveKitDBTripAccess, Trip and Route classes are in this module from now

[ 1.2.4 ] - 2020/01/23

Added

  • Trip Analysis: The autostart feature supports Bluetooth vehicle detection. More detail here.

[ 1.2.1 ] - 2020/01/08

Changed

  • Trip Analysis: Improve trip detection

[ 1.1.11 ] - 2019/12/12

Fixed

  • Core: Fix reset functions to only erase DriveKit related data

[ 1.1.10 ] - 2019/11/14

Fixed

  • Trip Analysis: In some rare cases SDK stayed stuck in sending state after a cancelled trip

[ 1.1.8 ] - 2019/11/12

Fixed

  • Trip Analysis: Make SDK more robust when beacons configuration is changed

Changed

  • Driver Data UI: Reduce route loading duration in trip detail view

[ 1.1.6 ] - 2019/11/08

Fixed

  • Trip Analysis: In some cases, beacon seen during trip is not retrieved at the end of a trip.

[ 1.1.4 ] - 2019/11/06

Fixed

  • Trip Analysis: iOS 13 beacon ranging functions no longer works with multiple beacons configured due to iOS limitation. To avoid this limitation, multiple beacons can be configured but they must have the same proximity UUID.

[ 1.1.3 ] - 2019/11/05

Changed

  • Driver Data UI: Reduce trip detail view loading duration

  • Driver Data UI: Update UITextView creation to avoid crash using Xcode 11.2 (https://forums.developer.apple.com/thread/125287)

  • Trip Analysis: Update beacon ranging functions for iOS 13

  • Trip analysis: The Location permission is no longer done by the SDK and must be requested from the app.

[ 1.1.2 ] - 2019/11/04

Changed

  • Build version for Xcode 11.2

[ 1.1.1 ] - 2019/10/31

Added

[ 1.1.0 ] - 2019/10/25

Added

  • Add Driver Data SDK for Driver's trips synchronisation.

  • Add Driver Data UI for trip display.

[ 1.0.1 ] - 2019/09/27

Fixed

  • Fixed missing CFBundleVersion

[ 1.0.0 ] - 2019/09/16

Changed

  • Release version of the Trip Analysis SDK.

  • Improved trip detection.

  • Reduced automatic start time after a prolonged idle period of the smartphone.

Added

  • New interface to retrieve the detected beacon event before the start of the trip.

  • Add method to get the SDK recorder state.

[ 1.0.0 - beta 1 ] - 2019/09/09

Added

  • Trip Analysis SDK is now available in beta version

Last updated