Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 605 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 605 Bytes

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"