Great library. I just have one problem i cant use the library to show album art from android media store.
A uri like this
content://media/external/audio/albumart/58
I tried your example using this uri
import FastImage from 'react-native-fast-image'
const YourImage = () =>
<FastImage
style={styles.image}
source={{
uri: 'content://media/external/audio/albumart/58',
headers:{ Authorization: 'someAuthToken' },
priority: FastImage.priority.normal,
}}
resizeMode={FastImage.resizeMode.contain}
/>
An solution?
Content urls are now handled in the latest version.
You also aren't required to set a priority or to set headers:
<FastImage
style={styles.image}
source={{ uri: 'content://media/external/audio/albumart/58' }}
/>
@DylanVann ^4.0.6?
@makskolesnikov Nope, v4.0.8. I'll update the changelogs tonight.
Most helpful comment
Content urls are now handled in the latest version.
You also aren't required to set a priority or to set headers: