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

iOS9: Properties of person is unavailable (module Ti.Contacts)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.0.0
    • Component/s: iOS
    • Environment:

      OS X Environment - OS X 10.10.5 / Xcode 7.1 beta / iOS 9.1 beta
      Appcelerator Environment - Studio 4.3.0 / SDK 5.0.0 RC

    • Story Points:
      3
    • Sprint:
      2015 Sprint 19 SDK

      Description

      I tested my app and i appears that the module Ti.Contacts is broken. In fact, you can only get the properties "identifier" of a person. Other properties is unavailable and causing crash of the app.

      var people = Ti.Contacts.getAllPeople(),
      person = null;
       
      for (var i=0, ilen=people.length; i<ilen; i++){
      var person = people[i];
      Ti.API.log('identifier ' + person.getIdentifier()); //works
      Ti.API.log('firstName ' + person.getFirstName()); // didn't works
      Ti.API.log('middleName ' + person.getMiddleName()); // didn't works
      Ti.API.log('lastName ' + person.getLastName()); // didn't works
      //... etc for all other properties of Person except "identifier"
      }
      

        Attachments

          Activity

            People

            • Assignee:
              cng Chee Kiat Ng (Inactive)
              Reporter:
              buje THOMAS LEMAITRE
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code