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 requestAuthorization method (in favor of requestContactsPermissions)
  • Loading branch information
sgtcoolguy committed Dec 16, 2019
1 parent 440e9cc commit 7e0a46a
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,6 @@ public void removePerson(PersonProxy person)
contactsApi.removePerson(person);
}

@Kroll.method
public void requestAuthorization(KrollFunction function)
{
KrollDict dict = new KrollDict();
dict.putCodeAndMessage(TiC.ERROR_CODE_NO_ERROR, null);
function.callAsync(getKrollObject(), dict);
}

@Kroll.method
public void showContacts(@Kroll.argument(optional = true) KrollDict d)
{
Expand Down

0 comments on commit 7e0a46a

Please sign in to comment.