React native Linking to another app
<p>I am trying to link to another app from my react native application (google maps for example).</p>

<p>I required the Linking module as it's written here: <a href="https://facebook.github.io/react-native/docs/linking.html" rel="noreferrer">https://facebook.github.io/react-native/docs/linking.html</a></p>

<p>My code contains a simple button which should open the navigation app and pass some location as properties:</p>

<pre><code>&lt;TouchableOpacity 
   onPress={ () =&gt;{
     Linking.openURL("http://maps.google.com/maps=daddr=Wien")
     .catch(err =&gt; console.error('An error occurred', err)); }}
&gt;
   &lt;Text&gt;Navigate&lt;/Text&gt;
&lt;/TouchableOpacity&gt;
</code></pre>

<p>Upon loading the view I get no errors which implicates that requiring the module worked fine.</p>

<p>Upon taping the button I get the following error message :</p>

<pre><code>undefined is not an object (evaluating '_reactNative.Linking.openURL')
</code></pre>

<hr>

<p>I have followed these steps : <a href="https://facebook.github.io/react-native/docs/linking-libraries-ios.html" rel="noreferrer">https://facebook.github.io/react-native/docs/linking-libraries-ios.html</a> and installed <code>npm install link --save</code> &lt;- Maybe the issue is that this is the wrong module?? If it is the wrong one does anyone know how the correct one is called?</p>