Answers for "get download url firebase functions"

0

get download url firebase functions

const createPersistentDownloadUrl = (bucket, pathToFile, downloadToken) => {
  return `https://firebasestorage.googleapis.com/v0/b/${bucket}/o/${encodeURIComponent(
    pathToFile
  )}?alt=media&token=${downloadToken}`;
};
Posted by: Guest on January-23-2021

Browse Popular Code Answers by Language