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
ReferenceError Can't find variable crypto (Build Release IOS) #810
Comments
My bad. |
Aw man.. at least say what you did wrong... no one learns if you do not tell us your mistake |
What was the actual error? @pqminh |
I had the same issue and it turned out I didn't read the nano-id docs thoroughly. You need to install the react-native-get-random-values package and import it before you import nanoid. See the documentation for the exact steps: |
Ya sorry but I don't remember this error. Have nice day! |
Version
"react": "16.0.0-alpha.12",
"react-native": "^0.47.2",
Platform
Expected behaviour
Multi Picker image from library.
Steps to reproduce
const options = {
width: 300,
height: 400,
multiple: true,
maxFiles: 10,
mediaType: 'any',
};
ImageCropPicker.openPicker(options).then(response => {}).catch(err => console.log(err))
Catch error: ReferenceError Can't find variable crypto
The text was updated successfully, but these errors were encountered: