I am using the cordova contacts plugin to retrieve the constacts in an app. I’d like to know if it is possible to get only the contacts that have the phoneNumber informed, I mean, making a unique call to the “find” method of the contacts plugin.
I haven’t found a way in the documentation.
In android devices the find method returns all the google contacts of the user, but I only need the ones with the phone number. I could loop the whole contact list and filter them manually but I wonder if there is a way to query directly the native contact list with a “not null” constraint.
thanks in advance