Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-2800

iPhone : crash when trying to get a contact email (contacts synchronized)

    Details

      Description

      {html}<div><p>When we synchronize contacts with external systems such as
      google, the email labels are not set correctly.<br>
      Instead of having 'home', 'work', 'other' labels, we get 'email'
      emails.</p>
      <p>Then if we get a contact using:</p>
      <pre>
      <code> selectedContact = Titanium.Contacts.getPeopleWithName(contactName);</code>
      </pre>
      <p>and then try to get the emails by doing :<br></p>
      <pre>
      <code> var emails = selectedContact[0].email;</code>
      </pre>
      Then, the app crashes.</div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              guillaume Guillaume
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-2443
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration