fix: uuid

This commit is contained in:
Kyle Fang
2020-04-09 21:03:02 +08:00
parent b235dc1370
commit c5acea4419
5 changed files with 30 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import "react-native-get-random-values";
import { AppRegistry } from "react-native";
import App from "./src/App";
import { enableScreens } from "react-native-screens";

View File

@@ -656,6 +656,8 @@ PODS:
- React
- react-native-geolocation (2.0.2):
- React
- react-native-get-random-values (1.3.1):
- React
- react-native-image-picker (2.3.1):
- React
- react-native-image-resizer (1.2.1):
@@ -877,6 +879,7 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-fbsdk (from `../node_modules/react-native-fbsdk`)
- "react-native-geolocation (from `../node_modules/@react-native-community/geolocation`)"
- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-image-resizer (from `../node_modules/react-native-image-resizer`)
- react-native-notifications (from `../node_modules/react-native-notifications`)
@@ -1032,6 +1035,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-fbsdk"
react-native-geolocation:
:path: "../node_modules/@react-native-community/geolocation"
react-native-get-random-values:
:path: "../node_modules/react-native-get-random-values"
react-native-image-picker:
:path: "../node_modules/react-native-image-picker"
react-native-image-resizer:
@@ -1200,6 +1205,7 @@ SPEC CHECKSUMS:
React-jsinspector: 512e560d0e985d0e8c479a54a4e5c147a9c83493
react-native-fbsdk: c35d42169e64aaf66f01713c1e18d0674f7f6519
react-native-geolocation: c956aeb136625c23e0dce0467664af2c437888c9
react-native-get-random-values: 148a42f97f2ce180a52d219144e83c278d4fe24b
react-native-image-picker: 6a850c41f57f0848d918c2a77aedd7aa272ffa30
react-native-image-resizer: 784fb2b5603021a91f059c03dfe32f8fca624b28
react-native-notifications: cdbf790a7630684db20c8a8ff748d190943998b0

View File

@@ -58,6 +58,7 @@
"react-native-fs": "^2.16.2",
"react-native-geolocation-service": "^4.0.0",
"react-native-gesture-handler": "^1.5.2",
"react-native-get-random-values": "^1.3.1",
"react-native-gifted-chat": "^0.13.0",
"react-native-google-signin": "^2.1.0",
"react-native-image-picker": "^2.3.1",

View File

@@ -1,7 +1,7 @@
import analytics from "@react-native-firebase/analytics";
import storage from "@react-native-firebase/storage";
import { currentUserId } from "../user";
import uuid from "uuid/v4";
import { v4 as uuid } from "uuid";
import crashlytics from "@react-native-firebase/crashlytics";
export const uploadFile = async (

View File

@@ -1545,7 +1545,15 @@
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46"
integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==
"@expo/react-native-action-sheet@3.4.1", "@expo/react-native-action-sheet@3.6.0", "@expo/react-native-action-sheet@^3.6.0":
"@expo/react-native-action-sheet@3.4.1":
version "3.4.1"
resolved "https://registry.yarnpkg.com/@expo/react-native-action-sheet/-/react-native-action-sheet-3.4.1.tgz#af1397d3b1c446f77b3ece531ce87aab5a8777d2"
integrity sha512-N2NXBYI8MZrmpi2G2cKDgE6K4F3MfwnUTpOJpo03BexLSlb7oNcXYpVReD2zxATlfjalTTjYdQ/7EYZdn/Z/sg==
dependencies:
"@types/hoist-non-react-statics" "^3.3.1"
hoist-non-react-statics "^3.3.0"
"@expo/react-native-action-sheet@^3.6.0":
version "3.6.0"
resolved "https://registry.yarnpkg.com/@expo/react-native-action-sheet/-/react-native-action-sheet-3.6.0.tgz#8207ff460c8795ca9040e6d85daed63db6b3ac58"
integrity sha512-sAxQZ57iGkn/nKHvJoj51KIvnVx9RdMTpk2lKlo3FKPaezLWsdK0P9zLI/xG3NrD6CRr9tt3oK0silYi61VvZA==
@@ -8389,6 +8397,11 @@ fancy-log@^1.3.2:
parse-node-version "^1.0.0"
time-stamp "^1.0.0"
fast-base64-decode@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz#b434a0dd7d92b12b43f26819300d2dafb83ee418"
integrity sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q==
fast-deep-equal@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
@@ -16244,6 +16257,13 @@ react-native-gesture-handler@^1.5.2:
invariant "^2.2.4"
prop-types "^15.7.2"
react-native-get-random-values@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/react-native-get-random-values/-/react-native-get-random-values-1.3.1.tgz#f5e0dce92ed0ba3aad7a41df7bca712ccd840e46"
integrity sha512-+oli7JzmIGR75KZM2phjFUCBJwv7YEXuGRBq2M1pMqgQOqEUdZRK7qxC8w2luEANPAQ5plykOZiKwN7Aay9HZA==
dependencies:
fast-base64-decode "^1.0.0"
react-native-gifted-chat@^0.13.0:
version "0.13.0"
resolved "https://registry.yarnpkg.com/react-native-gifted-chat/-/react-native-gifted-chat-0.13.0.tgz#0151a092a2e8b3c3a754f2b6ffe3ca3069d8dac8"