When using this module on Android my App crashes and I get the following error:
getImageSize...error={"framesToPop":1,"code":"E_GET_SIZE_FAILURE"}, source={"uri":"https://s3.eu-central-1.amazonaws.com/partyboote-staging/media/58598a1de2c26.jpg"}
On iOS it workes perfectly fine!
Here is how I try to use it:
...
import TransformableImage from 'react-native-transformable-image';
...
const screenHeight = Dimensions.get('window').height;
const screenWidth = Dimensions.get('window').width;
...
render() {
...
return (
...
<View style={{flex: 1}}>
<TransformableImage
resizeMode={'contain'}
source={{uri: mediaUrl}}
style={{height: screenHeight, width: screenWidth}}/>
</View>
...
)
}
Did I do something wrong?
I know that I used this module in an older project the same way I am trying to do here, and it worked.
Thanks in advance :)
Here is a screenshot:
