Installation
This module requires that the @react-native-sentiance/crash-detection
and @react-native-sentiance/core
modules are already setup and installed.
npm i @react-native-sentiance/core
npm i @react-native-sentiance/crash-detection
npm i @react-native-sentiance/legacy
Usage
Importing the package
You can import the entire contents of the package for use under a namespace of your choosing:
import * as SentianceLegacy from "@react-native-sentiance/legacy";
or you can require specific functionality using named imports:
import {
enableDetections,
invokeDummyVehicleCrash,
createUser
} from "@react-native-sentiance/legacy";