Please provide the following:
- SDK Version: 37
- Platforms(Android/iOS/web/all): iOS
Hi ! I’m trying to reproduce the same behavior as on Android when a user clicks on a map link.
Currently my code looks like this:
if (Platform.OS === 'ios') {
Linking.openURL(`http://maps.apple.com/maps?daddr=${daddr}&dirflg=d`);
} else {
Linking.openURL(`http://maps.google.com/maps?api=1&daddr=${daddr}&travelmode=driving`);
}
On Android, I have the “choose app” native drawer proposing me all the alternatives to Google Maps (CityMapper, Waze, etc). But in iOS, I’m not able to reproduce the same behavior.
Do you know how I can manage to do that ? Thx !