LinusU / react-native-get-random-values

A small implementation of `getRandomValues` for React Native
MIT License
354 stars 48 forks source link

Use expo-crypto instead expo-random starting from expo 49 #46

Closed sem4phor closed 1 year ago

sem4phor commented 1 year ago

expo-random is now deprecated in favor of expo-crypto

See: https://docs.expo.dev/versions/latest/sdk/random/

So to generate random bytes this package propably need to use https://docs.expo.dev/versions/latest/sdk/random/ in the future.

LinusU commented 1 year ago

This was already fixed in #45, released as 🚢 1.9.0 / 2023-05-18