We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello , I tried to pass Authorization header in headers object but it doesn't work, but it works with component ,maybe it's a bug?
The text was updated successfully, but these errors were encountered:
@miladrasooli Please provide more information:
Codes to reproduce the issue:
...
Steps to reproduce the issue:
Expected result: ...
Sorry, something went wrong.
I thought it was self-explanatory, I have image links which need authorization token to open , and I'm using this line of code to do so :
<AutoHeightImage source={{uri:'.............',headers:{Authorization:'...............'}}}/>
Unfortunately it doesn't work. When I change AutoHeightImage to Image it works.
AutoHeightImage
Image
Currently, react-native-auto-height-image rely on Image.getSize API.
react-native-auto-height-image
Image.getSize
source prop supports method, headers and body. See.
source
method
headers
body
Image.getSize API does not work with method, headers and body params. See.
In future, maybe we will replace Image.getSize with fetch.
fetch
Thanks , Good to know , I hope it'll be added in next releases
No branches or pull requests
Hello ,
I tried to pass Authorization header in headers object but it doesn't work, but it works with component ,maybe it's a bug?
The text was updated successfully, but these errors were encountered: