I can't get image downloadUrl from Firebase Storage (Angular/Ionic)

前端 未结 2 1156
无人及你
无人及你 2021-01-28 09:31

I\'m trying to get downloadUrl for an image from firebase, All properties like \'timeCreated\', \'fullPath\', \'contentType\' are working well & pushed correctly! but I don\

2条回答
  •  执笔经年
    2021-01-28 10:12

    The download URL is now no longer accessible in the immediate results of the upload. This change was made a few months ago to the Firebase client SDKs.

    Instead, you will have to call getDownloadURL (or whatever the Angular binding is for that JavaScript function) to get the URL as a second request after the upload is complete.

提交回复
热议问题