-
-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report crypto.getRandomValues() not supported. #953
Comments
I am also facing the same issue |
i've downgraded the version to "react-native-google-places-autocomplete": "2.5.6", without ^ , remove the node_modules, yarn.lock and yarn install and pod install, i've tested in ios and android, this works! Hope the problem will be solved in the next version. |
Same, had to downgrade to 2.5.6 |
Thanks, It is working without ^ . |
For others who come here, you don't need to downgrade (at least I didn't). I'm on expo 50.0.17 and got around this by installing |
Thanks, it's worked for me. |
This didn't work for me BUT I'm not in expo |
working for react native 73.9 |
Thanks, this works. Note that this will require you to rebuild the app and submit a new version to the app stores, if you just want to push updates out over the air (such as expo-updates) then the only option is to downgrade to v2.5.6 as mentioned above. |
+1 |
Its using uuid dependency. Remove uuid and use Math.random(). |
thanks,This is effective for me |
Thanks, it's worked for me. expo 51.0.6 react native 0.75.2 |
solve this issue. I’m using react native. you just sample install this package if you using yarn then yarn add react-native-get-random-values OR npm install react-native-get-random-values. only import import 'react-native-get-random-values' in your route files likes, i import index.js and app.js |
I should just add that since this is a mobile bundle, there's no code splitting and you shouldn't import multiple times. I doubt it hurts anything but just import once somewhere toward the top of your component tree and you'll be good to go. |
++ |
same issue facing downgrading from '^2.5.7' to '2.5.6' work it |
Worked like a charm <3 |
Additional context
Library Version: [^2.5.6] and ^2.5.7
React Native Version: [0.74.3]
[x ] iOS
Android
Web
If you are using expo please indicate here:
any help?
The text was updated successfully, but these errors were encountered: