Open AudreyBramy opened 5 years ago
react-native: "0.57.0" react-native-photo-view: "1.5.2"
When an image is displayed, the request to our server is sent two times. The first time ".png" is added to the url. The second time, the url is correct.
class ImageView extends PureComponent { render() { return ( <PhotoView source={{ uri: this.props.url }} loadingIndicatorSource={{ Spinner }} minimumZoomScale={1.0} maximumZoomScale={3.0} androidScaleType="fitCenter" style={styles.image} /> ); } }
this.props.url = "/"
REQUEST SENT: GET /.png
react-native: "0.57.0" react-native-photo-view: "1.5.2"
When an image is displayed, the request to our server is sent two times. The first time ".png" is added to the url. The second time, the url is correct.
this.props.url = "/"
REQUEST SENT: GET/.png