Jon Mikel Mujika created CB-9077:
------------------------------------
Summary: Filter search to only return contacts with phone number
Key: CB-9077
URL: https://issues.apache.org/jira/browse/CB-9077
Project: Apache Cordova
Issue Type: Improvement
Components: Plugin Contacts
Environment: Android
Reporter: Jon Mikel Mujika
When searching for all the contacts in Android, by default all the google
contacts(Gmail history, etc...) are returned. This causes performance problems
when the number of contacts is big.
Usually, we only want contacts that have a phone number informed. A new
optional boolean parameter could be added to the options object of the "find"
method: "hasPhoneNumber".
I have implementes the solution for Android here:
https://github.com/jonmikelm/cordova-plugin-contacts
But it could be done for all the other platforms.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]