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

The property "kind" of Ti.Contacts.createPerson causes exception on ios5.1 device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      iphone4s with iOS5.1

      Description

      Uncomment the line with "kind" and run it on an ios5.1 device will throw out exception.

      var contact = Ti.Contacts.createPerson({
      firstName : 'first',
      lastName : 'last',
      //kind : Ti.Contacts.CONTACTS_KIND_PERSON,
      phone :

      { 'work' : [('111-222-3333')], 'mobile' : [('111-222-3333')] }

      ,
      email :

      { 'work' : [('foo@bar.com')] }

      });

        Attachments

          Activity

            People

            • Assignee:
              srahim Sabil Rahim
              Reporter:
              qgao Qing Gao
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration