@eohjsc/react-native-smart-city 0.4.43 → 0.4.45
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
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
## Getting started
|
|
4
4
|
|
|
5
5
|
1. Install package dependencies:
|
|
6
|
-
|
|
6
|
+
- Using [react-native-get-random-values](https://www.npmjs.com/package/react-native-get-random-values): `yarn add react-native-get-random-values`
|
|
7
|
+
```
|
|
8
|
+
// Add this line to your 'index.js'
|
|
9
|
+
import 'react-native-get-random-values'
|
|
10
|
+
```
|
|
7
11
|
- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-reanimated@^1.10.1`
|
|
8
12
|
|
|
9
13
|
2. Install:
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useState, useMemo } from 'react';
|
|
2
2
|
import { useNavigation } from '@react-navigation/native';
|
|
3
3
|
import { Alert } from 'react-native';
|
|
4
|
+
import 'react-native-get-random-values';
|
|
4
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
5
6
|
|
|
6
7
|
import Processing from '../../commons/Processing';
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
import dgram from 'react-native-udp';
|
|
16
16
|
import { useNavigation, useIsFocused } from '@react-navigation/native';
|
|
17
17
|
import LottieView from 'lottie-react-native';
|
|
18
|
+
import 'react-native-get-random-values';
|
|
18
19
|
import { v4 as uuidv4 } from 'uuid';
|
|
19
20
|
|
|
20
21
|
import { ToastBottomHelper } from '../../utils/Utils';
|