Hi ionic community,
I use ionic @ionic-native/contacts to get all contact in IOS phonebook, but I I just get a part of phonebook.
I use this code:
let options = {
filter: '',
multiple: true,
hasPhoneNumber: true
}
this.contactsRep.find(['*'], options).then((contactsPhone:Contact[]) => {
this.myContacts = contactsPhone;
console.log('wallPage ALL contactsPhone '+contactsPhone);
or
this.contactsRep.find(['*']).then((contactsPhone:Contact[]) => {
this.myContacts = contactsPhone;
console.log('wallPage ALL contactsPhone '+contactsPhone);
1 post - 1 participant