Skip to main content

All Questions

1 vote
1 answer
145 views

Typescript React Native Image Picker double-tap issue (non expo)

So, there's some good news and some bad news. The good news is that the code below works. The bad news is that I have to pick the image twice before it displays client-side. Import code: import {...
jedihomeslice's user avatar
0 votes
0 answers
35 views

Unable to Upload Image to Firebase in React Native, TypeError: Cannot read property 'showImagePicker' of undefined, js engine: hermes

I'm working on a React Native project where I need to upload an image to Firebase. I'm using react-native-image-picker for image selection and @react-native-firebase/firestore for interacting with ...
Ravi Mishra's user avatar
1 vote
0 answers
215 views

Error: Cannot find native module 'ExponentImagePicker' when using 'expo-image-picker' with Hermes JS engine

I'm working on a React Native project where I need to upload an image to Firebase. I'm using react-native-image-picker for image selection and @react-native-firebase/firestore for interacting with ...
Ravi Mishra's user avatar
0 votes
1 answer
647 views

React native image upload getting network error

'react-native-image-picker' for uploading image in my application, Sometimes it is uploading and sometimes i am getting [TypeError: Network request failed] below is the code: FormData in my component:...
sudhir_arium's user avatar
1 vote
1 answer
239 views

Selected image update on Avatar R.N Image Picker

Hello guys I'm Using React native Image Picker I able to select image from android library but after selection Im not able to update on my Avatar profile[Image] After select Image here is my console....
Jason0011's user avatar
  • 482
0 votes
2 answers
2k views

How to reset Camera Permission in expo-image-picker?

I have just started to use expo-image-picker but for testing purposes I have denied the camera permissions so many times that I'm not being asked anymore whether I want to allow or deny the permission....
Laspeed's user avatar
  • 1,091
3 votes
2 answers
2k views

Expo-image-picker: "Unhandled promise rejection: Error: Failed to write data to a file"

I am building a react native multiuser app and I am trying to set up the user profile page. I am trying to make a user profile picture that a user can upload from their image library. I manage to open ...
Itay Lador's user avatar
1 vote
2 answers
959 views

How to solve Firebase Storage: Invalid URL when trying to upload and image react native

I am trying to upload an image to firebase storage, the problem is I get Firebase Storage: Invalid URL when I try to upload it. First I get the uri from the react-native-image-picker then I use it to ...
Albin Rdz's user avatar
  • 163
1 vote
1 answer
340 views

Difficulties handling asynchronous taks using image-picker and copying files in react-native

The following component CapturePhoto is used to take a photo using react-native Image Picker, once a photo is taken, I copy the photo file to a specific path that I pass as prop to this component from ...
sarli's user avatar
  • 23
0 votes
1 answer
4k views

react-native-image-crop-picker not displaying image

My Image Picker is able to select image from the gallery but it is unable to display the image on the app, I've tried many ways and reviewed my code all over again but I'm unsure what went wrong. Can ...
NTACO's user avatar
  • 51
1 vote
1 answer
493 views

In newer iOS versions, error using form-data w/ multer & react-native-image-picker ([_NSCFConstantString substringToIndex:]: Index x out of bounds...)

When trying to send form-data that includes an image to the node multer library in the backend, the iOS simulators are giving me the error below in newer ios versions (version 13.7 didn't have any ...
Jonah 's user avatar
  • 11
0 votes
2 answers
4k views

How to upload image with react native?

I upload image with react js like this : const onSubmit = (e) => { console.log(e.img); form.append("file", e.img.originFileObj); Axios.post("url", form, { ...
Mehdi Faraji's user avatar
  • 3,934
1 vote
1 answer
972 views

React Native Customized Image Picker doesn't show gallery images on android

I have to use a multiple picker in my react native application, and I tried to use this package: react native customized image picker with the next configuration: ImagePicker.openPicker({ multiple: ...
poPaTheGuru's user avatar
  • 1,100
1 vote
1 answer
1k views

React native No permission needed for camera or photo library access

I am working on an app where the user needs to load images from a photo library or camera, I am using the react-native-image-picker library for accessing the camera, however, I use it without react-...
Armen Khachatryan's user avatar
2 votes
3 answers
5k views

React Native: Console Warning Possible Unhandled Promise Rejection (id:0): TypeError: Cannot read property 'uri' of null

I am following this tutorial on uploading photos to Firebase in React Native and have it all set up using 'react-native-image-picker' and 'launchImageLibrary' (instead of the 'showImagePicker' in the ...
Ollie's user avatar
  • 107

15 30 50 per page