Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncContacts Plugin

Load contacts from iOS address book asynchronously (upto 15000 contacts in ~5-10 seconds)

This plugin is inspired from http://github.com/Alterplay/APAddressBook.

cordova plugin add https://github.com/mrameezraja/cordova-async-contacts-plugin.git

Methods

  • addressbook.getAsync
  • addressbook.checkPermission

addressbook.getAsync


  window.plugins.addressbook.getAsync(function(contacts){
      console.log(contacts.length);
  }, function(error){
    console.log(error);
  })

Available fields:

  • firstName
  • middleName
  • lastName
  • phones

addressbook.checkPermission


  window.plugins.addressbook.checkPermission(function(permission){
      console.log(permission);
  }, function(error){
    console.log(error);
  })

Supported Platforms

  • iOS

About

**[Deprecated]** Load contacts from iOS address book asynchronously

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages