vovkasm / react-native-web-image

An image component for react-native with persistent disk and memory caching.
MIT License
146 stars 25 forks source link

Add header support for Android #14

Open BJvdA opened 6 years ago

BJvdA commented 6 years ago

Use as follows: add 'headers' object to 'source' prop

<WebImage source={{uri: 'https://..', headers: {'Authorization': 'Bearer TOKEN'}}} />

FlorianBergmann commented 6 years ago

+1

vovkasm commented 6 years ago

Thank you! Merged to develop branch.