Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
The React Native libraries for DriveKit SDK are open source and available on GitHub:
If you want to get a sample code to install DriveKit in your React Native application, you can test our .
If you prefer to integrate the SDK directly into your application, please follow the next steps.
First you have to install the Core component which allows you to initialise the DriveKit SDK, to configure your API key and to declare a user. The Core component is mandatory.
React Native librairie are available via NPM. First, install the library:
and install iOS pods:
On Android, you must add the DriveKit Maven repository in your top-level build.gradle
:
The step by step procedure to initialise the SDK, set your API Key and create a user is described in the .
After installing the Core component, you need to install the Trip Analysis component which allows you to record trips and configure the recording modes.
First, install the library:
and install iOS pods:
First, install the library:
and install iOS pods:
To verify the DriveKit Trip Analysis component integration into your app, it is recommended to perform tests in real conditions. Before carrying out driving tests, it may be useful to validate the implementation of the SDK in your application.
It is strongly recommended not to integrate this component into an application built for production. This component has been designed to facilitate preliminary testing and should never remain in your production app.
First, install the library:
and install iOS pods:
To initialise Trip Analysis and enable the autostart mode, follow the steps described in the Trip .
The module manages the driver trips display (list and details) and ensures the synchronisation of driver data.
To initialise Driver Data and get driver trips data, follow the steps described in the .
For this purpose, DriveQuant provides the component based on recorded GPS data.
To start using the tool, follow the steps described in the .