Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28460

How to open email client from email id provided in content of React-Native WebView?

$
0
0

Implemented a webview in react-native. if any normal URL is found in webview content then its highlighted and on the click it will redirect to url. But if in case any EmailId is found in the content, it is highlighted but on click its giving error. Want to open an email client on the device?

I tried: 'mailto: tester@gmail.com'

Hello. Do you want to view page 2 ?

if a valid url is present like:

Hello. Do you want to view page 2 ?

but if email is present like:

Hello. Do you want to view page 2 ?

It's giving error.

We want to open an email client when the user clicks on the redirection link. Please Suggest.


Viewing all articles
Browse latest Browse all 28460

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>