[TIMOB-941] iPhone - Most contacts fields crash the app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | contacts, ios, iphone, showcontactpicker |
Reporter | Steve Gough |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:39:43.000+0000 |
Updated | 2011-04-17T01:54:44.000+0000 |
Description
SDK: 1.3
When using the contact picker only a few of the contact fields will fire the success event. The rest just crash the app. The ones I've noticed that work fine:
address - 'work' only
email - 'work' only
The ones I've noticed that don't work:
prefix
organization
phone - ticket #176 calls for 'phoneNumber' but 'phone' is the
one that works
middleName
suffix
nickname
jobTitle
department
birthday
address - all but 'work'
email - all but 'work'
Ones that flat out crash the app if you even include them in the 'details'
creationDate
modificationDate
Contacts hasn't been fully ported from 0.8.
Contact picker should be resolved now; there's still more work to be done with contacts, though.
(from [bba6d9a6c5294b979c567043898a7a9da09bdc7e]) Closes #941: Contacts module rewrite complete. http://github.com/appcelerator/titanium_mobile/commit/bba6d9a6c5294b979c567043898a7a9da09bdc7e"> http://github.com/appcelerator/titanium_mobile/commit/bba6d9a6c5294...
It seems the Contacts module doesn't work on all Iphones. Chris describes the problem here
http://developer.appcelerator.com/question/106511/iphone-contacts-listing-crashs-on-iphone#header"> http://developer.appcelerator.com/question/106511/iphone-contacts-l...
Whenever one tries to access the email field, the app crashes. This happens even when I previously check for it's existence.
Can someone please look into it as it stops me from developing my app any further.
Thanks a lot for all your hard work!
Phil
This is improper use of the email field. See documentation.