That still didn't work.
But I did get it to work using this code and saving the value to local storage first.
var link = "mailto:" + localStorage.getItem("imputName");
window.open(link);
and it does still open a blank web page, but that is better then it not working at all.
So I can use this same concept for making phone calls right?
Save the value to local storage first and then use this code:
window.location.href = "tel:" + localStroage.getItem("imputName"); << for androids
window.open('tel:' + localStorage.getItem("Phone"), 'system'); << for iphones
I was thinking that this would work but when I test the phone in the Appery Tester on the phone it does not open the dialer in the phone.
Is there a part of the code that I am missing?