Dial using Phonegap on iPhone

I need to make a call to make a call using the PhoneGap app on the iPhone. Here is the code I'm using that doesn't work <a href="tel:+1-800-275-2273" style="width:300px;height:67px;margin-bottom:20px;"><img src="image.png" alt="" /></a>

I also use the childbrowser plugin and mapkit in the application. Can someone tell me how to call me using Phonegap in Iphone app?

Thanks in advance.

+5
source share
4 answers

I just tried (copy and paste) without an image, but only with text, he tried to dial a number to make it work. Something else must be wrong.

+4
source

This just worked for me:

window.location.href='tel:800-123-4567';
+4
source

Try this if you have problems with iOS 5. This allows you to make phone calls through javascript. https://github.com/j-mcnally/PhoneGap-ios-PhoneDialer

+2
source

After tel:try to use only numbers, i.e.

<a href = "tel: 18002752273"> <img src = "image.png" alt = "" /> </a>

+2
source

All Articles