Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/j-mcnally/PhoneGap-ios-PhoneDialer

A plugin for ios phone gap to launch the dialer programatically in ios >= 5
https://github.com/j-mcnally/PhoneGap-ios-PhoneDialer

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Usage
=====

```javascript

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"