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

iOS: Contacts methods deprecated in iOS9 return vague descriptions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 5.1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      iPhone 6s Plus Device (9.1) & Simulators (9.1) , (8.4)
      Mac OSX El Capitan 10.11 (15A284)
      Studio: 4.4.0.201511241829
      Ti SDK: 5.1.2.v20151216190036
      Appc NPM: 4.2.2
      App CLI: 5.1.0
      Xcode 7.1
      Node v4.2.3

    • Story Points:
      0

      Description

      Description:

      This ticket is related to https://jira.appcelerator.org/browse/TIMOB-19002.

      Upon investigating the listed Deprecated methods under Ti.Contacts , it was found that when running an app to an iOS9 device with deprecated methods, returned deprecated messages were vague in their description. Here are the following findings:

      getGroupByID, getPersonByID: "This method is removed for iOS9 and greater."
      'saveImage' , 'created' , 'modified' person property: No deprecated messages returned in Xcode or Studio console logs.

      Attached to this ticket is the demo code to test these methods
      Note: Additional issues were found regarding Ti.Contacts.revert() & Ti.Contacts.save() . Related tickets are included under linked issues.

      Steps to reproduce:

      1. Create a classic app and run demo code on iOS9 device.
      2. Click Create Test Group 1, find Group by ID, Create Contact, Modified, Created.
      3. Observe Xcode Console & Studio Console for each step.

      Result:

      Vague deprecated messages that do not state the method in question, or no deprecated message at all.

      Expected Result:

      Deprecated messages should provide the method name in question, and include missing deprecated messages for person properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                htbryant Harry Bryant
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration