@sentiance-react-native/legacy 6.0.0-beta.16 → 6.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -29
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
# Sentiance Legacy module for React Native
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Demo Application
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
# Install & setup the core module
|
|
7
|
-
npm i @sentiance-react-native/core
|
|
8
|
-
|
|
9
|
-
# Install & setup the crash detection module
|
|
10
|
-
npm i @sentiance-react-native/crash-detection
|
|
11
|
-
|
|
12
|
-
# Install the legacy module
|
|
13
|
-
npm i @sentiance-react-native/legacy
|
|
14
|
-
```
|
|
5
|
+
https://github.com/sentiance/sample-apps-react-native
|
|
15
6
|
|
|
16
7
|
## Usage
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
You can import the entire contents of the package for use under a namespace of your choosing:
|
|
21
|
-
|
|
22
|
-
```javascript
|
|
23
|
-
import * as SentianceLegacy from "@sentiance-react-native/legacy";
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
or you can require specific functionality using named imports:
|
|
27
|
-
|
|
28
|
-
```javascript
|
|
29
|
-
import {
|
|
30
|
-
enableDetections,
|
|
31
|
-
invokeDummyVehicleCrash,
|
|
32
|
-
createUser
|
|
33
|
-
} from "@sentiance-react-native/legacy";
|
|
34
|
-
```
|
|
9
|
+
To use the legacy SDK module, please visit the corresponding [API reference page.](https://docs.sentiance.com/sdk/api-reference/react-native/legacy)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentiance-react-native/legacy",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.19",
|
|
4
4
|
"description": "React Native Sentiance - This module provides a legacy API.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"sentiance"
|
|
15
15
|
],
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@sentiance-react-native/crash-detection": "6.0.0-beta.
|
|
17
|
+
"@sentiance-react-native/crash-detection": "6.0.0-beta.19"
|
|
18
18
|
},
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "",
|