react-native-google-places-autocomplete icon indicating copy to clipboard operation
react-native-google-places-autocomplete copied to clipboard

uuid library doesn't work well with expo

Open hashjona opened this issue 1 year ago • 7 comments

Describe the bug

Error: crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported

Reproduction and solution

Use it with any expo app, simply add the [email protected]

Solution

After i found the error originating from the uuid library, i checked the latests commits and i noticed it was added recently so i downgraded to 2.5.6 which solved the issue. i think this should be helpful to fix the issue.

Additional context

[email protected] [email protected]

  • [x] iOS
  • [ ] Android
  • [ ] Web

If you are using expo please indicate here:

  • [x] I am using expo

hashjona avatar Oct 06 '24 20:10 hashjona