Get started
Last updated
Was this helpful?
Last updated
Was this helpful?
Before starting DriveKit Vehicle integration, make sure that you have, especially if you have .
If you use DriveKit Vehicle without having initialized DriveKit, an exception will be generated and the SDK will not work in your application.
To add Vehicle module to your app, add the following line to your dependencies in your application build.gradle
file:
If you have , an initialization phase is required to use the functions offered by the Vehicle component. To initialize Vehicle component in your app, you must call the initialization method in onCreate
method of your application class.
The configuration of the Vehicle component and its vehicles can overload the auto start configuration of the TripAnalysis component. To do this, call this method after the Vehicle module initialization: