Nanoid not working in react native
RikardF opened this issue · comments
Rikard Friberg commented
I get this error when trying to use ics in my react native project:
Error: React Native does not have a built-in secure random generator. If you don’t need unpredictable IDs use
nanoid/non-secure
. For secure IDs, importreact-native-get-random-values
before Nano ID.
Solution for this?