Skip to content

uuid library doesn't work well with expo #950

Open
@hashjona

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 [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]

  • iOS
  • Android
  • Web

If you are using expo please indicate here:

  • I am using expo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions