PDA

View Full Version : Dialing a phone number using Sencha 2 & Phonegap on iOS5



justinKohactive
17 Nov 2011, 2:15 PM
I noticed that using document.location='tel:' + phonenumber; isn't working in iOS 5, this sucks because the prefered method is to launch that via a function tied to a button handler. If your using PhoneGap I have created a plugin to help manage this interaction natively.

Check it out here:
https://github.com/j-mcnally/PhoneGap-ios-PhoneDialer

hope that helps someone.

--Justin McNally

mitchellsimoens
18 Nov 2011, 2:55 PM
We are working on allowing tapping on such links. This is our bad and we are working to fix it ASAP! :)