react-native-fullwidth-image icon indicating copy to clipboard operation
react-native-fullwidth-image copied to clipboard

ReadableNativeMap cannot be cast to java.lang.string

Open andrew-schenk opened this issue 7 years ago • 0 comments

Crashes on Android when using source={{uri: ...}}

Image.getSize(this.props.source.uri, (width, height) => {

needs to be

let source = this.props.source; if (typeof(source) !== "string") { source = this.props.source.uri; } Image.getSize(source, (width, height) => {

andrew-schenk avatar Sep 11 '18 16:09 andrew-schenk