Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

422
Views
Rechazo de promesa no manejado: Error: [almacenamiento/desconocido] Se ha producido un error desconocido (ios)

Después de cargar la imagen Blob en Cloud Storage, recibo este error y mi imagen se cargó correctamente

 `[Unhandled promise rejection: Error: [storage/unknown] An unknown error has occurred.] at node_modules/@react-native-firebase/storage/lib/StorageTask.js:152:22 in get__then - ... 10 more stack frames from framework internals`

¿Alguna pista por favor? Me estoy perdiendo de algo ?

Versiones

"@react-native-firebase/aplicación": "14.7.0",

"@react-native-firebase/auth": "14.7.0",

"@react-native-firebase/firestore": "14.7.0",

"@react-native-firebase/almacenamiento": "^14.7.0",

 const getPictureBlob = (uri) => { console.log("uri", uri); return new Promise((resolve, reject) => { const xhr = new XMLHttpRequest(); xhr.onload = function () { resolve(xhr.response); }; xhr.onerror = function (e) { console.log(e); reject(new TypeError("Network request failed")); }; xhr.responseType = "blob"; xhr.open("GET", uri, true); xhr.send(null); }); }; const upload = async ( values, formikHelpers ) => { let blob: any; try { blob = await getPictureBlob(values.photo); const ref = await storage().ref().child(currentUser.uid); const snapshot = await ref.put(blob); let remoteUrl = snapshot.ref.getDownloadURL(); console.log("remoteUrl", remoteUrl); } catch (e) { console.log("Error", e); } finally { blob.close(); } };
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!