Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 493 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 493 Bytes

CordovaContactPicker

Finally, a working plugin that allows you to select a phone number from your contacts.

To install, run:

cordova plugin add https://github.com/nishilshah17/CordovaContactPicker.git

To use the plugin, simply add the following JavaScript function:

window.plugins.ContactPicker.pickContact(function (contact) {
  setTimeout(function () {
    phoneNumber = contact.phone;
  }, 0);
}, onError);

Thanks for using this plugin!