-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Undefined is not an object (evaluating ImagePicker.openCamera) #786
Comments
Have anybody solved it? |
+1 |
Same problem with Expo app 👎 |
Same issue. |
make sure to correctly link the library to your ios and android projects. |
Try link manually For manual solution, add the following on your
|
I got rid of this by adding folder |
Version
{
"name": "img",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"native-base": "^2.7.2",
"react": "16.4.1",
"react-native": "0.55.2",
"react-native-easy-grid": "^0.2.0",
"react-native-image-crop-picker": "^0.20.3",
"react-navigation": "^2.9.3"
},
"devDependencies": {
"babel-jest": "23.4.0",
"babel-preset-react-native": "4.0.0",
"jest": "23.4.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}
Platform
Expected behaviour
Actual behaviour
Undefined is not an object (evaluating ImagePicker.openCamera)
The text was updated successfully, but these errors were encountered: