Cordova com Angularjs

Asked

Viewed 47 times

0

I did a lot of research, but I couldn’t find anything concrete. How to open standard mobile email client using Cordova with Angularjs?

1 answer

1

Your question doesn’t explain exactly what you want to do when opening the native email client, but if it is to compose a message, just use the mailto on the link:

<a href="mailto:[email protected]">Link text</a>

In addition, you need to configure the project properties in config.xml to direct the mailto for email client adding this line:

<access origin="mailto:*" launch-external="yes" />

I used this code and it worked.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.