Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19002] iOS9: Update Contacts to reflect new API

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-08T06:30:08.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.0.0
ComponentsiOS
LabelsIOS9, contacts
ReporterBen Bahrenburg
AssigneeEric Merriman
Created2015-06-11T21:37:09.000+0000
Updated2017-03-24T19:11:57.000+0000

Description

Starting in iOS 9 Apple has deprecated the Address Book framework, and replaced this functionality with: [Contacts Framework](https://developer.apple.com/library/prerelease/ios/documentation/Contacts/Reference/Contacts_Framework/index.html#//apple_ref/doc/uid/TP40015328) [ContactUI Framework](https://developer.apple.com/library/prerelease/ios/documentation/ContactsUI/Reference/ContactsUI_Framework/index.html#//apple_ref/doc/uid/TP40016207) The Titanium Proxies will need to be updated to reflect this Apple SDK change.

Attachments

FileDateSize
app.js2015-07-01T06:28:17.000+00009337

Comments

  1. Chee Kiat Ng 2015-07-01

    PR here: https://github.com/appcelerator/titanium_mobile/pull/6945

    Test Reference

    Methods to test

    *+Modified+* reload event listener createGroup createPerson getAllGroups getAllPeople getPeopleWithName removeGroup removePerson createGroup createPerson save showContacts requestAuthorization contactsAuthorization members Group Property *+New+* getGroupByIdentifier getPersonByIdentifier *+Deprecated+* getGroupByID getPersonByID revert saveImage Person Property created Person Property modified Person Property Also attached app.js file to use for testing.
  2. Hans Knöchel 2015-07-08

    Reviewed and merged.
  3. Victor Casé 2015-09-30

    showContacts doesn't work anymore at iOS9: See: https://community.appcelerator.com/topic/3471/titanium-contacts-showcontacts-was-deprecated-in-ios9/3
  4. Fokke Zandbergen 2016-02-13

    [~casevictor] please create a new JIRA ticket with reproducing test case for what you see?
  5. Lee Morris 2017-03-24

    Closing ticket as fixed.

JSON Source