Home

Published

- 1 min read

TypeError: undefined is not an object (evaluating `_reactNativeImagePicker.default.launchImageLibrary`)

img of TypeError: undefined is not an object (evaluating `_reactNativeImagePicker.default.launchImageLibrary`)

The solution for this is noted below

TypeError: undefined is not an object (evaluating _reactNativeImagePicker.default.launchImageLibrary)

Solution

   // I had this same issue and this is how I solved it.
import * as ImagePicker from "react-native-image-picker"

Try other methods by searching on the site. That is if this doesn’t work