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.
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: trueor 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.