react-native-map-link 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +1 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -192,7 +192,7 @@ const generateMapUrl = ({ app, directionsMode, appleIgnoreLatLon, googleForceLat
192
192
  }
193
193
  else {
194
194
  if (address) {
195
- url = `https://www.google.com/maps/search/?q=${address}`;
195
+ url = `https://www.google.com/maps/search/?api=1&query=${address}`;
196
196
  }
197
197
  else {
198
198
  // Use "search" as this will open up a single marker
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-map-link",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Open the map app of the user's choice with a specific location.",
5
5
  "source": "src/index",
6
6
  "main": "lib/index.js",