onlongpress react native on images code example
Example: onPress image react native
//use Touchable Opacity
<TouchableOpacity onPress={()=> alert('image clicked)}>
<Image source={require('./sampleimage.png')} style = {styles.ImageClass} />
</TouchableOpacity>