Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26032] iOS/Android: Ti.Contacts.getPersonByIdentifier does not exist (Android), parity is incorrect

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-10-24T23:17:33.000+0000
Affected Version/sRelease 7.0.0, Release 7.1.1, Release 7.2.0
Fix Version/sRelease 7.5.0
ComponentsAndroid
Labelscontacts, parity
ReporterRene Pot
AssigneeHans Knöchel
Created2018-05-11T10:31:29.000+0000
Updated2018-10-25T14:52:35.000+0000

Description

According to the docs getPersonByID is deprecated for iOS9+ and getPersonByIdentifier should be used. Docs also specify this is available for Android starting 5.0, however, this method doesn't exist in the code. For Parity reasons we should add this method to Android as well.

Comments

  1. Hans Knöchel 2018-05-11

    There is another issue on the iOS side here: The new API is iOS 9 or later, so the dev would need to use two different methods to support iOS 8 as well. I would propose to do some iOS refactoring there and do Android as well.
  2. Hans Knöchel 2018-05-11

    PR: https://github.com/appcelerator/titanium_mobile/pull/10038 Test-Case: [~topener] Could this please be delivered by the community?
  3. Lokesh Choudhary 2018-10-24

    PR Merged.
  4. Samir Mohammed 2018-10-25

    *Closing ticket* Code changes verified in SDK Version 7.5.0.v20181025051112. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10038

JSON Source