nativescript-fresco icon indicating copy to clipboard operation
nativescript-fresco copied to clipboard

Error on signed content from AWS.

Open jbfulgencio opened this issue 9 years ago • 1 comments

I´m trying to open a signed content from amazon but the fresco tag can´t open it. If you use the Image tag, works fine. An exemple link is https://weduc-storage.s3-eu-west-1.amazonaws.com/e97cb8f8521dfa019d6de5c1e3f568ff181fc84f.jpg?AWSAccessKeyId=NANANANANANANA&Expires=1484620088&Signature=NANANANANANA%3D .

As you can see, there´s a signature after the extension. Is there other way to solve it?

jbfulgencio avatar Jan 16 '17 20:01 jbfulgencio

Hi @jbfulgencio ,

The Android native Fresco library is designed to work with direct URLs of images, if there is any authentication required it should not be in the URI itself but rather in a different authentication mechanism which will provide a simple URL address to the image.

The current implementation of nativescript-fresco and its imageUri supports loading images from remote location (http, https), from the resources and local files of your {N} application or more details refer the readme here. Loading images from not authenticated remote location is not supported but it could be possible.

VladimirAmiorkov avatar Jan 19 '17 13:01 VladimirAmiorkov