onPress function on Android not working
See original GitHub issueHey guys if want to add a onPress function to open a link its not working on Android.
On iOS it works very well. I dont know how to fix this 😕
this is my code
<ListItem> <TouchableOpacity style={styles.infoScreenOpenMaps} onPress={() => { Linking.openURL( "https://maps.google.com/?q=" + lati + "," + longi ); }} > <Icon style={styles.markerIcon} name="map-marker-outline" type="material-community" color='#8a8a8a' /> <Text>In Google Maps öffnen</Text> </TouchableOpacity> </ListItem>
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
try to add this attribute
enabledContentTapInteraction={false}
Oh my god, you’re the best! This thing was driving me crazy!