Open vdias38 opened 6 years ago
meuCordova encode uri var uri = encodeURI(file.url);
and since Firebase Storage has encoded the /
as %2F
meuCordova try to re-percent encode the %
character (%25
), that leads to FILE_NOT_FOUND_ERR
// Note that in the URL, characters are URL escaped! var httpsReference = storage.refFromURL('https://firebasestorage.googleapis.com/b/bucket/o/images%20stars.jpg');
Source: Download Files on Web
https://stackoverflow.com/q/41900710/4982169 https://stackoverflow.com/a/42477496/4982169
url: https://firebasestorage.googleapis.com/v0/b/meumobi-sitebuilder.appspot.com/o/files%2F2cb7a5d2-b854-800a-06d9-b30934bd05f1.xlsx?alt=media&token=be8b2723-326d-4c49-aabb-c9c20ce8fcaa