Ionic and Phonegap(Phone Dial)


#1

Hey guys i have developed an ionic project which one stuff is about a button click which redirects to phone dialer with the number displayed.

I tested it through phonegap, it works well but after converting it into an apk and installing it, the button click which redirects to phone dialer does not work. My project will be done once this issue is done!

Can any one help me here?


#2

Happened to me also.
added this
<access origin="tel:*" launch-external="yes" /> <allow-intent href="tel:*" />

To the config.xml and it started working for me


#3

i have even added that too… but still it doesnot work :frowning:


#4

ok my call button looks like this
<a class="col-25 text-center" onclick="window.location.href = 'tel:0000000000'">
if this helps any :slight_smile:

oh and in the config i also have
<access origin="*"/>


#5

i used the same as yours! only difference is ng-click=fun()

where that function will have window.open(‘tel:000’)