Doopler Doopler - 2 years ago 84
AngularJS Question

How to call from app in Ionic using href?

I have read many post but it seems I am doing something wrong.

<a href="tel:1234543" class="item item-icon-left" id="number">
<i class="icon ion-earth"></i> Call

config file

<access origin="*"/>
<access origin="tel:*" launch-external="yes" />
<allow-intent href="tel:*" />

When I run this on my device the button does nothing? Any pointers?

Answer Source

Just modify the code like this :

<a href="tel:+1-1800-555-5555" id="number" class="item item-icon-left">
   <i class="icon ion-earth"></i> Call


<access origin="tel:*" launch-external="yes"/>

Hope it works :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download