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

178
Views
¿Cómo obtener la URL de datos de los bytes de carga en firesbase?

Cómo obtener la URL de datos de la instantánea después de cargarla en el almacenamiento en firebase, no puedo encontrar el enlace en la instantánea, debe haber otro método para completar la acción.

 if (input?.files![0]) { const storage = getStorage(); const storageRef = ref(storage, `profiles/${_authContext.currentUser.uid}/${input?.files![0].name}`); // 'file' comes from the Blob or File API uploadBytes(storageRef, input?.files![0]).then((snapshot) => { console.log(snapshot); console.log('Uploaded a blob or file!'); }); }

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Hay otra cosa que tienes que hacer. Está cubierto en la documentación . Usa getDownloadUrl() .

 getDownloadURL(ref(storage, 'images/stars.jpg')) .then((url) => { // `url` is the download URL for 'images/stars.jpg' }

Solo puede hacer esto después de que la carga se haya completado por completo.

about 4 years ago · Juan Pablo Isaza Report
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!