react-native-cacheable-image
react-native-cacheable-image copied to clipboard
Touchable child must either be native or forward setNativeProps to a native component
I'm getting this warning when placing <CacheableImage>
directly inside a <TouchableHighlight>
component.
One workaround for now is to wrap <CacheableImage>
with <View style={{flex: 1}}>
Can you add the warning message you're receiving here?
Below is a screenshot.
I have a fix right now that seems to be working locally based off of this explanation. But it requires a tweak to react-native-responsive-image - you can see my comment to the maintainer of that repo.
If he makes the necessary change and gets back to me, I'll submit a PR.