Permalink
Browse files

Add iOS Linking location example to docs

Summary:
Hi, the docs make it seem like `geo:${latitude},${longitude}` is the cross-platform way to link locations on Google/Apple Maps. This is Android-only though.

I did no changes to code.

I noticed that the Appetize.io embed tries to run the [Linking example](https://facebook.github.io/react-native/docs/linking.html) code on iOS, although the example uses Android location scheme. This results in errors. I'd like to fix this as well, but I have no idea how to tell the demo to run on Android.
Closes #13220

Differential Revision: D4804123

Pulled By: hramos

fbshipit-source-id: 2de85d56476933ec54ea423d76a0fe98ed5132d3
  • Loading branch information...
viktorsec authored and facebook-github-bot committed Mar 31, 2017
1 parent 3ef2055 commit ec68c97d72030cab6e3aef991dee8413d5a95c00
Showing with 2 additions and 1 deletion.
  1. +2 −1 Libraries/Linking/Linking.js
@@ -138,7 +138,8 @@ class Linking extends NativeEventEmitter {
/**
* Try to open the given `url` with any of the installed apps.
*
* You can use other URLs, like a location (e.g. "geo:37.484847,-122.148386"), a contact,
* You can use other URLs, like a location (e.g. "geo:37.484847,-122.148386" on Android
* or "http://maps.apple.com/?ll=37.484847,-122.148386" on iOS), a contact,
* or any other URL that can be opened with the installed apps.
*
* NOTE: This method will fail if the system doesn't know how to open the specified URL.

0 comments on commit ec68c97

Please sign in to comment.