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

iOS: Ti.Contacts custom phone label in phones become undefined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.0, Release 5.2.0
    • Component/s: iOS
    • Labels:
    • Environment:

      MacBook Pro (Retina, 13-inch, Late 2013) , OS X Yosemite

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

      Description

      i need urgent solution for this bug in Contacts list phone numbers , IOS

      if i have contact he's phone number saved in custom label the phone numbers of this contact object return "undefined"

       var people          = Ti.Contacts.getAllPeople(); 
       
           for ( var i = 0 ; i < people.length; i++)
           {
           	var person  = people[i];
           	var contactPhones = person['phone'] ;//should be array 
           	//if contact has phone number saved as custom label return undefined;
           	Ti.API.info(i+' - Contact Phones '+contactPhones);
           }
      

        Attachments

          Activity

            People

            • Assignee:
              cng Chee Kiat Ng (Inactive)
              Reporter:
              jackSparrow jack sparrow
              Reviewer:
              Hans Knöchel
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code