Answers for "how to read a firebase txt file"

2

how to read a firebase txt file

const ref = this.storage.ref('array.txt');
ref.getDownloadURL().subscribe(data => {
  fetch(data)
  .then(function(response) {
    response.text().then(function(text) {
      console.log(text);
    });
  });
});
Posted by: Guest on June-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language