Skip to content

uuid library doesn't work well with expo #950

Description

@hashjona

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 react-native-google-places-autocomplete@2.5.7

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

react-native-google-places-autocomplete@2.5.7
react-native@0.74.5

  • iOS
  • Android
  • Web

If you are using expo please indicate here:

  • I am using expo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions