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
Hi,
I'm using react-native-fit-image, it's a very usefull job. thx.
In my project I'm adding auth with token on our image provider. In your source code, you use Image.getSize to get the original image size.
Could you add getSizeWithHeaders https://facebook.github.io/react-native/docs/image#getsizewithheaders when the "source" prop contain and "headers" object and use getSizeWithHeaders in this case please ?
best regards,
Jérémie.
The text was updated successfully, but these errors were encountered:
That seems definitely possible! But instead of having if-else branch for that I might try to leave the option open to the API users as they do talk about in Inversion of Control principle.
Hi,
I'm using react-native-fit-image, it's a very usefull job. thx.
In my project I'm adding auth with token on our image provider. In your source code, you use Image.getSize to get the original image size.
Could you add getSizeWithHeaders https://facebook.github.io/react-native/docs/image#getsizewithheaders when the "source" prop contain and "headers" object and use getSizeWithHeaders in this case please ?
best regards,
Jérémie.
The text was updated successfully, but these errors were encountered: