Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

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
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
2 votes
3 answers
10k views

Images put to storage are saved as 'octet-stream' rather than image/jpeg (firebase and ReactNative)

I am using the camera(react-native-image-Picker) to take a pick and save it to storage. Here is how I am doing it. const saveImage = async () => { const id = firebase.firestore().collection('...
Byusa's user avatar
  • 3,097
0 votes
1 answer
2k views

Firebase Cloud Storage Error Loading Preview Uploaded Image

I uploaded an image using react-native-image-picker's base64 generated data. It shows up on Firebase console fine, but when I try to look at it on my browser, it says "Error Loading Preview" ...
Qrow Saki's user avatar
  • 1,072
0 votes
0 answers
464 views

react-native-firebase:compileDebugRenderscript FAILED: Could not resolve android.arch.lifecycle:runtime:1.1.0

Please note that posting on StackOverflow is my last choice, and I have already spent hours searching over GitHub issues and related questions. The problem occurred as soon as I added implementation ...
Claire Fragkedaki's user avatar
0 votes
1 answer
916 views

Uploading image to firebase in react native: undefined is not a function

As the title says, I'm trying to upload Image to firebase in react native. I'm using react-native-image-picker and firebase modules for that. My code goes as: (Only including the "main" parts for ...
Ankit Kumar's user avatar
  • 1,281
2 votes
1 answer
1k views

Expo/Firebase: Image chosen from camera roll uploading as octet-stream instead of .jpg

I've been having trouble viewing the image files I've uploaded to firebase and just noticed the issue is with the file type in firebase. Two files in my firebase storage console. One uploaded from my ...
erica's user avatar
  • 21
0 votes
2 answers
575 views

How to Upload Image form Phone to Firebase Storage?

I'm trying to upload a Picture form my Phone to Firebase using Expo. I get a uri form the Picture but not sure how to convert it, that I can uploade it to Firebase? _pickImage = async () => {...
Justin Spring's user avatar
4 votes
2 answers
3k views

Firebase Storage: string does not match format base64: invalid character found. Only when debug is off

I'm trying to upload an image file to firebase storage, save the download URL, and load it after the upload is completed. When I run the app with debug js remotely on it works fine. When I turn off ...
soutot's user avatar
  • 3,671