Page 1 of 1

Telephone Call Button and E-Mail Button with Phonegap 3.6. Access Whitelist Required?

Posted: Thu Jan 22, 2015 6:05 am
by Jörn Krüger

I try to add a Telephone Number Button and an Email Button, which opens the native Telephone App or the E-Mail App on Android.

Currently a href="tel:12345" and window.location.href="tel:12345" is working in the browser, but not in the native app nor in the App Tester. Same with mailto:email@host.

The PHONE_CALL Permission for Android is enabled.

I found this Thread on Stackdump http://stackoverflow.com/questions/26... which suggests, that since Phonegap 3.6 tel: and mailto: links must be whitelisted:

The PhoneGap Documentation can be find here: http://cordova.apache.org/docs/en/3.6...

Is it possible with appery to add the needed configurations?


Telephone Call Button and E-Mail Button with Phonegap 3.6. Access Whitelist Required?

Posted: Thu Jan 22, 2015 8:41 am
by Evgene Karachevtsev

Hello Jörn,

Please look at these links, hope they will be useful for you:
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...


Telephone Call Button and E-Mail Button with Phonegap 3.6. Access Whitelist Required?

Posted: Thu Jan 22, 2015 10:15 am
by Jörn Krüger

Thank you very much.

window.open('tel:' + Apperyio('phoneNumberLabel').text(), '_system'); as JavaScript Function did it.

No further configuration was needed.