LinusU / react-native-get-random-values

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

🎉 Add support for Expo SDK 45+ #36

Closed tsapeta closed 2 years ago

tsapeta commented 2 years ago

In Expo SDK45, expo-random is no longer a standard React Native module on iOS. Now it's an Expo JSI module which is exported as global.ExpoModules.ExpoRandom instead of NativeModules.ExpoRandom. On Android the old approach still works in SDK45, but will stop working in SDK46.

Fixes https://github.com/expo/expo/issues/17270

LinusU commented 2 years ago

Thanks!

Released as 🚢 1.8.0 / 2022-05-02