Skip to main content

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
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