Questions tagged [expo-image-picker]
22 questions
0
votes
0 answers
Error: Failed to read picked image → Caused by: Cannot load representation of type public.jpeg
I am trying to upload multiple images to my firebase storage using expo image picker but I always run into an error every time I select images of which I have no idea what could be causing it. The error is that the images does not get previewed in…

Eric Uche
- 61
- 4
0
votes
0 answers
expo-image-picker showing pdf for selection on android and after selecting the PDF app crashed
I am using 'expo-image-picker' to select Images and videos in my project.
When we are passing mediaTypes=ImagePicker.MediaTypeOptions.All for android it is also showing the PDF files and on selection of that PDF app is getting crashed.
import * as…
0
votes
0 answers
Expo image picker can't request permissions and launch camera in a single click
I am using expo image picker with a react native app on ios to take an image. When a user launches the app for the first time and clicks my "take image" button it prompts them for permission to use the camera. I would like for my function to launch…

Alex
- 86
- 4
0
votes
0 answers
React Native Expo Image Picker Image How to Send as Postman Binary File
Im using Expo for React Native and it's Image Picker. I would like to send my image file that I get from my phone as binary like I send in Postman as in the picture below.
Im using Axios for API operations.
I tried to send the base64 data or fetch…

Emre Bayrak
- 11
- 1
0
votes
0 answers
upload file or image is not working on android device
I have had this issue for days now. I have tried several solutions with no luck.
I have added below the example when the photo is taken from camera and then upload. Although the same happens if I upload it from gallery or if I upload a file.
The…

coder03
- 61
- 8
0
votes
1 answer
How to access actual (not cached) location of an image with Expo image picker in React Native app?
Background: I'm building a mobile app with React Native and Expo managed workflow (currently deploying to iOS).
What I want to do: I want the user to be able to either choose an image from the media library, or take a picture with the camera and in…

Christina Unger
- 59
- 2
- 9
0
votes
1 answer
How to store an image with react-query-firebase?
How do I store an image with react-query firebase? Currently my code stores a chosen image locally but mutating it to Firestore just pushes the URI as string value:
import { useAuthUser } from "@react-query-firebase/auth";
import {…

Glenncito
- 902
- 1
- 10
- 23