You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What was tried
I get this error when const id = uuidv4() runs. I added "react-native-get-random-values" as suggested, but with yarn and imported it this way;
import React, {useState} from 'react'; import 'react-native-get-random-values'; import {v4 as uuidv4} from 'uuid'; import RNPickerSelect from 'react-native-picker-select';
I am still getting the same error. Have to figure out other ways to generate a random ID then.
[Clear, concise description of the problem]
How to reproduce
Install the uuid and react-native-get-random-values
try running a component with this const id = uuidv4()
Expected behavior
Should generate random ids
Runtime
OS: macOS
Runtime: react-native
Runtime Version: 0.63.2
linus-komnick, olegderecha, AthulMuralidhar and cyrfer