[
https://issues.apache.org/jira/browse/CB-9078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601737#comment-14601737
]
ASF GitHub Bot commented on CB-9078:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cordova-plugin-contacts/pull/64
> Filter search to only return contacts with phone numbers
> --------------------------------------------------------
>
> Key: CB-9078
> URL: https://issues.apache.org/jira/browse/CB-9078
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin Contacts
> Environment: Only noticed problems in android, but the solution could
> be implemented for all platforms
> 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]