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 https://github.com/facebook/react-native/pull/13220 Differential Revision: D4804123 Pulled By: hramos fbshipit-source-id: 2de85d56476933ec54ea423d76a0fe98ed5132d3
This commit is contained in:
parent
3ef2055ee9
commit
ec68c97d72
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue