cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Mikel Mujika (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9077) Filter search to only return contacts with phone number
Date Wed, 27 May 2015 12:22:17 GMT
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message