Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-941] iPhone - Most contacts fields crash the app

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:44.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelscontacts, ios, iphone, showcontactpicker
ReporterSteve Gough
AssigneeReggie Seagraves
Created2011-04-15T02:39:43.000+0000
Updated2011-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

Comments

  1. Jeff Haynie 2011-04-15

    Contacts hasn't been fully ported from 0.8.

  2. Stephen Tramer 2011-04-15

    Contact picker should be resolved now; there's still more work to be done with contacts, though.

  3. Jeff Haynie 2011-04-15

    (from [bba6d9a6c5294b979c567043898a7a9da09bdc7e]) Closes #941: Contacts module rewrite complete. http://github.com/appcelerator/titanium_mobile/commit/bba6d9a6c5294b979c567043898a7a9da09bdc7e"> http://github.com/appcelerator/titanium_mobile/commit/bba6d9a6c5294...

  4. mmeier23 (at gmail) 2011-04-15

    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

  5. Stephen Tramer 2011-04-15

    This is improper use of the email field. See documentation.

JSON Source