6.0.0-beta.8 • Published 3 years ago
react-native-sentiance-crash-detection v6.0.0-beta.8
Installation
This module requires that the @react-native-sentiance/core
module is already setup and installed.
# Install & setup the core module
npm i @react-native-sentiance/core
# Install the crash detection module
npm i @react-native-sentiance/crash-detection
Usage
Importing the package
You can import the entire contents of the package for use under a namespace of your choosing:
import * as SentianceCrashDetection from "@react-native-sentiance/crash-detection";
or you can require specific functionality using named imports:
import {
listenVehicleCrashEvents,
invokeDummyVehicleCrash,
isVehicleCrashDetectionSupported
} from "@react-native-sentiance/crash-detection";
6.0.0-beta.8
3 years ago