For the record, still valid with Ionic2 RC.0. The link href could be written like this:
<a [href]="'tel:' + phone">{{phone}}</a>
For the record, still valid with Ionic2 RC.0. The link href could be written like this:
<a [href]="'tel:' + phone">{{phone}}</a>
Hi,
This simple code to call a number from app. is working on android, but not working on ios.
config.xml
< access launch-external=âyesâ origin=âtel:*â />
HTML file
< a class=âwelcomebottombtnâ href=âtel:{{vm.restaurantinfo.countryCode}}{{vm.phone}}â>
{{ âCall Usâ | translate }}< /a>
Added Space before a tag and âaccessâ to show html tag in reply.
In android this code works perfectly. opens number pad and phone number comes
In ios Numeric pad is not opening
Hi,
I are having issue making phone calls from app using href after I updated my Xcode to 8. My config.xml
file has
<allow-navigation href="tel:*" /> <allow-navigation href="mailto:*" /> <access origin="tel:*" launch-external="yes" />
I no longer get the prompt to make the call.
Thanks
Hello Rathan.
i think emaVâs answer will do the trick.
it worked for me.
Iâm having same problem on iOS - did you get it working (works fine on Android)
Hereâs an integration with Ionic Native:
I am using a variable and passing the below but it does no work as hyper link. It displays it with underline but link not work.
testVar = âPlease call us at < a href=âtel:{Phone_no }â>{ phone_no }< /a>â,
I noticed if i use a variable and pass HTML code the anchor tag does not get generated.
Added Space before a tag and âaccessâ to show html tag in reply.
Hai, guys pls refer this website it will be helpful to you
Maybe someone knows how I can test, f.e
a href=âtel:+1-1800-555-5555â class=âbutton button-positiveâ>Call me /a
this simplest approach?
We have some legacy mobile apps using ionic1. I have no problem launching the caller, but when it pops up the âconfirmâ modal on iOS, it causes the app to âresignâ (which I am using for ensuring users donât leave active sessions for sensitive data), BUT when you cancel or continue the call and complete, it NEVER calls the âresumeâ that allows me to cancel the session timeout handler. Itâs like it doesnât recognize that the app is now back in the foreground. Any way to solve this?
Why need cordova-plugin-whitelist to use Call number function?