I used react-native-image-picker for fetch image form camera and photo library. i follow the steps to and link react-native-image-picker in xcode. I will code also to open imagePicker. but have an error.
Note : I will used 0.46 for react native.
Successfully link in iOS and Android.
My Code :
import { ImagePicker } from 'react-native-image-picker'
And onButton :
handleImagePickUp = () =>{
ImagePicker.launchImageLibrary(options, (response) => {
});
}
Error :