[TIMOB-19002] iOS9: Update Contacts to reflect new API
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-08T06:30:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | IOS9, contacts |
Reporter | Ben Bahrenburg |
Assignee | Eric Merriman |
Created | 2015-06-11T21:37:09.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
app.js | 2015-07-01T06:28:17.000+0000 | 9337 |
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 contactsAuthorizationmembers
Group Property *+New+* getGroupByIdentifier getPersonByIdentifier *+Deprecated+* getGroupByID getPersonByID revertsaveImage
Person Propertycreated
Person Propertymodified
Person Property Also attached app.js file to use for testing.Reviewed and merged.
showContacts doesn't work anymore at iOS9: See: https://community.appcelerator.com/topic/3471/titanium-contacts-showcontacts-was-deprecated-in-ios9/3
[~casevictor] please create a new JIRA ticket with reproducing test case for what you see?
Closing ticket as fixed.