Open rudin opened 7 years ago
Please fix this.
@alwx please add this feature, it's natively managed with RNImage
Is there any update on this?
Yes, have one update on github. But not update in npm. Please install this library by command: npm i -s https://github.com/alwx/react-native-photo-view/tarball/master
In case the specifics are helpful to anyone else: this was fixed by commit c58fd6b30 from #127 . The fixed version can be pulled in with the following line in package.json
:
"react-native-photo-view": "alwx/react-native-photo-view#c58fd6b30",
When specifying a header in the source object, it's not being set when loading the image.
example: source={{uri: props.uri, headers: {Authorization:
Bearer ${this.props.token}
}}}This is possible with 'Image' so it'd be great if react-native-photo-view would support this as well.