Here is the code from the config.xml:
<access origin="*"/>
<access origin="mailto:*" launch-external="yes"/>
<!--
<access origin="http://phonegap.com" /> - allow any secure requests to http://phonegap.com/
<access origin="http://phonegap.com" subdomains="true" /> - same as above, but including subdomains, such as http://build.phonegap.com/
<access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
-->
<!-- Added the following intents to support the removal of whitelist code from base cordova to a plugin -->
<!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html -->
<plugin name="cordova-plugin-whitelist" version="1" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
And the mailto link is like this <a href="mailto:
huyt...@gmail.com">Please email me!</a>
When I test on Chrome, It opens my outlook email. But when I test with my phone, nothing happens. My phone has Email and Gmail app. Do you have any idea about it? Thank you for your help.
Vào 12:23:51 UTC-8 Thứ Hai, ngày 04 tháng 1 năm 2016, Kerri Shotts đã viết: