question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Phone number or email doesn't open native app

See original GitHub issue

Does pressing a phone number or email to open up their respective apps work? I tried LinkingIOS.openURL("mailto:frank@example.com") but it doesn’t work. It seems to only work with http URL’s even though the LinkingIOS documentation says “To trigger an app link (browser, email or custom schemas)”

Maybe it’s a simulator problem?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7

github_iconTop GitHub Comments

6reactions
brentvatnecommented, Apr 18, 2015

Hi @coderdave - you are right, this won’t work in the simulator but if you open it up on your device you should find that it will work exactly as expected. If not, feel free to ping me here and I can look into it further for you. It’s worth noting that the openURL method under the hood is just: [[UIApplication sharedApplication] openURL:URL];, so there’s not really any magic going on there 😄

2reactions
apurvajaincommented, Jun 17, 2017

@brentvatne I am trying to do the same thing For Twitter: Linking.openURL(‘https://twitter.com/appi2393’) - it works (Opens the twitter app) Linking.openURL(‘https://www.facebook.com/appi2393’) - doesn’t work it opens the facebook page in browser and not the app Any help is appreciated ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 15 web links do not open from mail or… - Apple Community
Hi, that is correct. I have restarted the phone but the issue occurred again a few hours later. This time it was opening...
Read more >
Can you launch/open an app from an email link on your phone
Hi all. So is it possible launch/open application on your phone (android/ios) from tapping on a 'call to action' ?
Read more >
How to launch and open email client React-native?
You can open an email client from React Native (for 'magic link' type feature). Works on Android.
Read more >
Set up a recovery phone number or email address - Android
1. On your Android phone or tablet, open your device's Settings app Google Manage your Google Account. 2. At the top, tap Security....
Read more >
Error: You haven't accessed the Google Play Store app on ...
This error can appear when you're trying to install an Android app on: Your computer; An Android mobile device that isn't linked to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found