/react-native-drivekit

React Native interface for DriveKit

Primary LanguageTypeScriptApache License 2.0Apache-2.0

DriveKit React Native SDK

This documentation presents the React Native interfaces for the DriveKit SDK on iOS and Android.

The DriveKit SDK for React Native is available with:

  • Android 21 (5.0) and later versions,
  • and iOS 11.0 and later versions.

The DriveKit libraries for React Native are supported for React Native 0.70 version. It is strongly recommended to use this version or later versions.

How to install the DriveKit SDK in your React Native application?

➡️ Step 1: Install the Core module

First you need to install the Core module. This module is mandatory and includes methods to initialize DriveKit, to configure your API key and to create a user.

To install this module, follow step by step the method described in the Core documentation


➡️ Step 2: Install the Trip Analysis module

After installing the Core component, you need to install the Trip Analysis component which manages the trip recording and the automatic mode configuration.

To install this module, follow step by step the method described in the Trip Analysis documentation


➡️ Step 3: Install the Driver Data module

The Driver Data module manages the driver trips display (list and details) and ensures the synchronisation of driver data.

To install this module, follow step by step the method described in the Driver Data documentation


➡️ Step 4 : Test your implementation with Trip Simulator

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.

For this purpose, DriveQuant provides the Trip Simulator component based on recorded GPS data.

❗️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.

To install this module, follow step by step the method described in the Trip Simulator documentation