Cordova with AngularJS

0

I researched a lot, but found nothing concrete. How to open the default mobile email client using angledJS?

    
asked by anonymous 12.04.2016 / 18:56

1 answer

1

Your question does not explain exactly what you want to do when opening the native email client, but if it is to compose a message, just use mailto in 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 to the mail client by adding this line:

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

I used this code and it worked.

    
08.12.2016 / 14:21