Jörn Krüger
Posts: 0
Joined: Mon Oct 13, 2014 5:22 am

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

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?

Jörn Krüger
Posts: 0
Joined: Mon Oct 13, 2014 5:22 am

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

Thank you very much.

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

No further configuration was needed.

Return to “Issues”