Get started

Prerequisite

Before starting DriveKit Vehicle integration, make sure that you have initialized DriveKit, especially if you have disable the SDK auto-initialization.

Integration

Get framework

To add the Vehicle module to your app:

  • Swift Package Manager: Add DriveKitVehicle from repository: https://github.com/DriveQuantPublic/drivekit-sdk-spm.git as dependency.

  • Cocoapods: add the following pod to your Podfile:

target 'my-target' do
  pod 'DriveKitVehicle'
end

Then, run pod install.

TripAnalysis configuration overload

The configuration of the Vehicle SDK and its vehicles can overload the auto start configuration of the TripAnalysis SDK. To do this, you should call this method after the SDK Vehicle initialization:

DriveKitTripAnalysis.shared.setVehiclesConfigTakeover(vehiclesConfigTakeOver: true)

Last updated

Was this helpful?