All Questions
45 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 {...
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 ...
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 ...
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:...
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....
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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, {
...
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: ...
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-...
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 ...