Replace $drivekitui_version with the DriveKit version you are using in your app
On this Github repository, you can also find a demo application that contains the DriveKit Timeline component. This code is open source and you can use it as an example.
Then, to initialize the module in your app, you must call the initialization method in onCreate method of your Application class:
funinitialize()
Configure main screen scores
You can select which scores you want to display on the main screen as well as the scores ordering, by calling the following method:
Default and accepted values:
[ SAFETY, ECO_DRIVING, DISTRACTION, SPEEDING ]
For DISTRACTION and SPEEDING scores, make sure that the services are activated on your DriveQuant account or the SDK will filter them out and they will not be displayed in the UI even if you add them here.