Doopler Doopler - 5 months ago 19
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
</a>


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

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
</a>

Config.xml

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

Hope it works :)

Comments