likej2ee / PhoneGap-ios-PhoneDialer

A plugin for ios phone gap to launch the dialer programatically in ios >= 5

Home Page:http://www.kohactive.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

Error return by the plugin : ["feature","empty"]

phonedialer.dial("123", function(err) {
            if (err == "feature")
                alert("Your device doesn't support this feature.");
            if (err == "empty")
                alert("Unknown phone number");
});

Installation

cordova add plugin "current repo"

Problem

If you get this error : PhoneDialerPlugin[...] CDVPlugin class PhoneDialer (pluginName: PhoneDialer) does not exist. Check if the PhoneDialer.m exist in your xcode project: "Build Phases" Section -> "Compile Sources"

About

A plugin for ios phone gap to launch the dialer programatically in ios >= 5

http://www.kohactive.com

License:MIT License


Languages

Language:Objective-C 76.7%Language:JavaScript 23.3%