windows 10 pro office 2019 pro office 365 pro windows 10 home windows 10 enterprise office 2019 home and business office 2016 pro windows 10 education visio 2019 microsoft project 2019 microsoft project 2016 visio professional 2016 windows server 2012 windows server 2016 windows server 2019 Betriebssysteme office software windows server instagram takipçi instagram beğeni instagram görüntüleme instagram otomatik beğeni facebook beğeni facebook sayfa beğenisi facebook takipçi twitter takipçi twitter beğeni twitter retweet youtube izlenme youtube abone instagram

Creating a file and settimng metadata at the same time in Firbase Storage

Asked By: Anonymous

i am currently working on a react app which uses Firebase Storage to store files.
My problem is: i want to create a file and attach metadata to it before storing it on Firebase storage;
as far as i know, now i have to

  1. save the file in the storage creating the file ref
  2. take the ref of that file, set metadata and upload it.

is there a way to make these 2 steps into 1?

Thanks in advance for your time


Answered By: Anonymous

As explained in the Cloud Storage for Firebase doc, "when uploading a file, you can also specify metadata for that file".

// Create file metadata including the content type
var metadata = {
  contentType: 'image/jpeg',

// Upload the file and metadata
var uploadTask = storageRef.child('images/mountains.jpg').put(file, metadata);

techinplanet staff

Porno Gratuit Porno Français Adulte XXX Brazzers Porn College Girls Film érotique Hard Porn Inceste Famille Porno Japonais Asiatique Jeunes Filles Porno Latin Brown Femmes Porn Mobile Porn Russe Porn Stars Porno Arabe Turc Porno caché Porno de qualité HD Porno Gratuit Porno Mature de Milf Porno Noir Regarder Porn Relations Lesbiennes Secrétaire de Bureau Porn Sexe en Groupe Sexe Gay Sexe Oral Vidéo Amateur Vidéo Anal

Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno