opneUrl react-native linking call, mailto : <p>I am trying to open a url ( "tel:061245124" or "mailto:test@test.com") and it says that i can handle url, also tried without the tel: or mail to but it crashes with a red screen.
Urls like "<a href="http://test.com" rel="noreferrer">http://test.com</a>" work.
What am I doing wrong?</p>

<pre><code>    handlePress(url) {
    console.tron.log('Trying to access url')
    console.tron.log(url)
    Linking.canOpenURL(url).then(supported =&gt; {
      if (!supported) {
        console.tron.log('Can\'t handle url: ' + url)
      } else {
        return Linking.openURL(url)

      }
    }).catch(err =&gt; console.error('An error occurred', err))
  }
</code></pre>
