Angularfire: [AngularFireStorage] Documentation - getDownloadURL() is not a method of AngularFireUploadTask

Created on 9 Dec 2020  路  3Comments  路  Source: angular/angularfire

Under Monitoring upload percentage in the AngularFireStorage documentation shows getDownloadURL(): Observable<any> as a method of AngularFireUploadTask. But getDownloadURL(): Observable<any> is actually a method of storage reference. It should be changed accordingly otherwise, it's confusing for developers.

Help Wanted! docs bug feature

Most helpful comment

Further, now that I've fixed up our storage integration, perhaps we could add the downloadUrl() function again as a convenience. Adding feature and 6.2 tags incase we want to take this approach.

All 3 comments

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Ah yeah, this is a problem with the docs. It used to be this way but Firebase changed in a past version, we depreciated, removed but must have missed the docs.

Further, now that I've fixed up our storage integration, perhaps we could add the downloadUrl() function again as a convenience. Adding feature and 6.2 tags incase we want to take this approach.

Was this page helpful?
0 / 5 - 0 ratings