Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
    });
  });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #firebase #txt #file
ADD COMMENT
Topic
Name
5+7 =