Skip to content

Commit

Permalink
fix(android): remove deprecated contacts methods
Browse files Browse the repository at this point in the history
BREAKING CHANGES: removes Ti.Contacts getPersonByID method (in favor of getPersonByIdentifier)
  • Loading branch information
sgtcoolguy committed Dec 16, 2019
1 parent e978fa0 commit 7caecb8
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,6 @@ public void save(Object people)
contactsApi.save(people);
}

@Kroll.method
public PersonProxy getPersonByID(long id)
{
Log.w(
TAG,
"Ti.Contacts.getPersonByID() has been deprecated in favor of Ti.Contacts.getPersonByIdentifier() for cross-platform parity",
Log.DEBUG_MODE);
return contactsApi.getPersonById(id);
}

@Kroll.method
public PersonProxy getPersonByIdentifier(long id)
{
Expand Down

0 comments on commit 7caecb8

Please sign in to comment.