incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky Gibson (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-223) Add support for iOS contact groups
Date Tue, 07 Feb 2012 22:26:59 GMT


Becky Gibson commented on CB-223:

Agreed those are useful apis but we would have to agree to diverge from the W3C Contacts API.
 There is a recent editor's draft: 

The api's that you propose would be fairly easy to implement on iOS.  However, starting with
a person record, getting the categories that a person is assigned to is no easy task in iOS.
 Unfortunately this is how the W3C spec is implemented - the categories are included as part
of the contact record.  This will be very inefficient to implement for iOS.  After a contact
has been found, next find all of the groups, then search each group for the found contact(s)
and add the category information to the contact.  At least this will only be necessary when
"categories" is included in the search fields.  

> Add support for iOS contact groups
> ----------------------------------
>                 Key: CB-223
>                 URL:
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: iOS
>    Affects Versions: 1.4.0
>         Environment: iOS
>            Reporter: Robert La Ferla
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: addressbook, categories, contacts, groups, ios
> Contacts on iOS are organized by group.  There is the default group "All Contacts" plus
any custom groups that the user set up.  Contacts retrieved by Apache Cordova / phonegap do
not contain which group they are in. 
> I believe that iOS groups are analogous to phonegap contact categories and thus should
be mapped to them.  If not, another property should be created.
> From the Cordova docs:
> "categories: An array of all the contacts user defined categories. (ContactField[])"
> In the iOS AddressBook API, the function ABAddressBookCopyArrayOfAllGroups() gets the
list of groups.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message