tschoffelen / react-native-map-link

🗺 Open the map app of the user's choice.
MIT License
639 stars 137 forks source link

Using Source Location options causes google maps to close #297

Open mattHollywood87 opened 1 week ago

mattHollywood87 commented 1 week ago

I've tested this using the example provided in the source. Using Expo Go, when providing sourceLatitude and sourceLongitude google maps attempts to open and then closes. I've tested this against a virtual android device and a Samsung S20 running latest version of Android.

Steps: Clone repo Install dependencies Run expo start --android Click Show Direction (On Foot) In Maps Using Action Sheet button Observe Google maps open and then close

Expected: Google maps to open showing the directions from the provided source lat/lon to the White House

Versions: "expo": "~50.0.6", "react": "18.2.0", "react-native": "0.73.4", "react-native-map-link": "^3.0.3"

mattHollywood87 commented 1 week ago

Please note, using the other buttons works fine, and this happens the same within my own app (i.e. works fine without sourceLat/Lon provided, maps crashes if sourceLat/Lon are provided)