The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/storage > getDownloadURL

getDownloadURL() function

Returns the download URL for the given Reference.

Signature:

export declare function getDownloadURL(ref: StorageReference): Promise<string>;

Parameters

Parameter Type Description
ref StorageReference

Returns:

Promise<string>

A promise that resolves with the download URL for this object.