LinusU / react-native-get-random-values

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

Expo 38 problem RNGetRandomValues.getRandomBase64 #16

Closed aplinxy9plin closed 4 years ago

aplinxy9plin commented 4 years ago

I use this lib version 1.5.0 SDK:38.0.0 on snack.expo.io and got this throw: Expo managed workflow support for react-native-get-random-values is only available in SDK 39 and higher.

If I use 1.4.0 version of this lib got this error: [TypeError: null is not an object (evaluating 'RNGetRandomValues.getRandomBase64')]

How can I fixed it? Just wait for 39 expo?... :(

LinusU commented 4 years ago

How can I fixed it? Just wait for 39 expo?

Unfortunately, this is the only way for now 😅