In my react-native app, I using react-native-image-picker
to pick image from camera or gallery. But the resource.uri
returned in undefined
in both launchCamera
and launchImageLibrary
. What am I doing wrong?
Here is my github repo of a basic build of the react-native app. The image picker code is in addProductScreen.js