You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/05/06 01:18:18 UTC

[jira] [Updated] (CB-223) Add support for iOS contact groups

     [ https://issues.apache.org/jira/browse/CB-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-223:
--------------------------------

    Component/s:     (was: iOS)

> Add support for iOS contact groups
> ----------------------------------
>
>                 Key: CB-223
>                 URL: https://issues.apache.org/jira/browse/CB-223
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Contacts
>    Affects Versions: 1.4.0
>         Environment: iOS
>            Reporter: Robert La Ferla
>            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. 
> CONTACT CATEGORIES PROPERTY
> 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[])"
> IOS IMPLEMENTATION NOTES:
> In the iOS AddressBook API, the function ABAddressBookCopyArrayOfAllGroups() gets the list of groups.
> https://developer.apple.com/library/ios/#documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Chapters/DirectInteraction.html#//apple_ref/doc/uid/TP40007744-CH6-SW1



--
This message was sent by Atlassian JIRA
(v6.2#6252)