Skip to main content
19 votes
19 answers
36k views

request formData to API, gets “Network Error” in axios while uploading image

I am making a POST request to server to upload an image and sending formdata using axios in react-native. i am getting "Network Error". i also try fetch but nothing work.using react native image ...
Govind Maheshwari's user avatar
19 votes
7 answers
27k views

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

Using React Image Picker i am facing this error: TypeError: undefined is not an object (evaluating '_reactNativeImagePicker.default.showImagePicker') This is what happens when i click on image picker ...
MuhammadShahbaz's user avatar
15 votes
2 answers
19k views

react-native-image-picker vs expo ImagePicker

I have tried many attempts to get react-native-image-picker up and working with my RN app. I am using Expo and VS Code and am not running the app with Xcode or Android Studio. There seems to be many ...
Olivia's user avatar
  • 2,171
12 votes
5 answers
27k views

NativeFirebaseError: [storage/unauthorized] User is not authorized to perform the desired action

I'm having problems uploading an image to Firebase Storage. I'm using React Native's @react-native-firebase/storage and the installation and connectivity seem to be fine because I'm able to reference ...
sigmapi13's user avatar
  • 2,563
12 votes
1 answer
3k views

React Native app crash when returning from camera on Android

I have a problem that seems to be pretty common, but I haven't found a solution yet. I'm using react-navigation, react-native-screens and react-native-image-picker. That last plugin allows the app to ...
MarioZ's user avatar
  • 193
12 votes
2 answers
2k views

React-native node.js showing Error: Multipart: Boundary not found while uploading image using react-native-image-picker

While Uploading image , It is showing Error: Multipart: Boundary not found on node js server console here is my react native code const createFormData = async (photo, body) => { const data ...
rahul's user avatar
  • 418
10 votes
1 answer
3k views

Task :react-native-image-picker:compileDebugJavaWithJavac FAILED

i have a project that i was giving to update the UI , but anytime I run the app with npx react-native run android it gives the error Task :react-native-image-picker:compileDebugJavaWithJavac FAILED ...
Curtis Crentsil's user avatar
8 votes
8 answers
16k views

Cannot read property 'launchImageLibrary' of undefined react-native-image-picker

My feature offers a small image icon as a touchable to upload or take a picture, using "react-native-image-picker": "^3.3.2". I'm getting error: Cannot read property '...
lsilva's user avatar
  • 197
8 votes
6 answers
19k views

React Native Task :react-native-image-picker:compileDebugJavaWithJavac FAILED

When trying to run my project on my windows computer it is not working, it works on my macOS but when running it on windows it throws the following errors: Task :react-native-image-picker:...
JoseGE's user avatar
  • 135
7 votes
1 answer
9k views

How to convert base64 to bytes in Expo React Native?

I'm trying to send image from image-picker to the server, but image-picker returns only base64. How can I convert base64 to bytes in React-Native using expo?
Jake_3H's user avatar
  • 462
7 votes
2 answers
21k views

react-native-image-picker reducing the size of the file and quality

I want to maintain the quality(size) of the image being uploaded. The options being used for this is const options = { quality:1, maxWidth: 500, maxHeight: 500, allowsEditing: false, ...
Prakash's user avatar
  • 466
6 votes
7 answers
20k views

Convert Image to base64 in react native

I have used react-native-image-picker and now I select image from the Photo library. To send the that image to API I have to convert it first into base64 and then into byte array. I have the filepath ...
reactNative94's user avatar
6 votes
2 answers
5k views

React-Native: Crashes on android when using openCamera using react-native-image-crop-picker and Camera in general

I've been having issues with react-native-image-picker and react-native-image-crop-picker while opening camera on my One Plus 6 for a while now. While using opening the camera, the background app that ...
Rimoch's user avatar
  • 103
5 votes
5 answers
19k views

react-native-image-picker launchCamera in not working in android

I'm using "react-native-image-picker": "^3.0.1" in react native for capture image. but I got error while opening the camera in android 9. I got error : {"errorCode": &...
Akshay I's user avatar
  • 4,225
5 votes
4 answers
24k views

react-native-image-picker not working in android 10

i am working with a project that i need to use the camera or choose image from Library so used react native image picker it works fine in develop mode and in production it doesn't work in Android 10 ...
user avatar

15 30 50 per page
1
2 3 4 5
21