You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an warning when using Amazon S3 public urls as the source for an avatar. I can handle the warning, but the image won't load, even though the link is to a valid image that will load in a standard react-native tag. It might be because my S3 links do not have a file extension, and so Amazon is not returning a content type header.
In helpers.js, on line 41, there is a conditional statement that returns false if contentTypeHeader does not start with image/. Can that check be removed, or can you add a property to ignore that check , like ignoreContentTypeCheck: true or something like that?
I cloned this repo and removed the check the myself for contentType on line 41 in helpers.js and it works great.
The text was updated successfully, but these errors were encountered:
I am getting an warning when using Amazon S3 public urls as the source for an avatar. I can handle the warning, but the image won't load, even though the link is to a valid image that will load in a standard react-native tag. It might be because my S3 links do not have a file extension, and so Amazon is not returning a content type header.
In helpers.js, on line 41, there is a conditional statement that returns false if contentTypeHeader does not start with
image/
. Can that check be removed, or can you add a property to ignore that check , likeignoreContentTypeCheck: true
or something like that?I cloned this repo and removed the check the myself for contentType on line 41 in helpers.js and it works great.
The text was updated successfully, but these errors were encountered: