Loading a file from amazon S3 #2778
Unanswered
jorgepayrillium
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a fetcher for getting a amazon signed image url. I'm getting a url like these
https://domain.com/profile/0194383d-ea04-7ed4-a12b-b8c7ad5a6c33/1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=wCQ8DPcTfzaBzZcowaVL%2F20250107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250107T003647Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=e51ff3bf449795609bdab911c45af00420e18ae7b33e73b03768ca6aa87618ed. if i open it in the browser the file is downloaded, but if i pass the url to an AsyncImage nothing happened. Any approach to these that you suggest me?.
java.lang.IllegalStateException: BitmapFactory returned a null bitmap. Often this means BitmapFactory could not decode the image data read from the image source (e.g. network, disk, or memory) as it's not encoded as a valid image format.
the mime-type of the url body is octet-stream.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions