Skip to content

Commit

Permalink
fix(ios): remove deprecated contacts methods
Browse files Browse the repository at this point in the history
BREAKING CHANGES: removes Ti.Contacts getGroupByID and getPersonByID methods (in favor of getGroupByIdentifier and getPersonByIdentifier)
  • Loading branch information
sgtcoolguy committed Dec 16, 2019
1 parent d72f824 commit e8c4b43
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions iphone/Classes/ContactsModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,6 @@ - (void)showContacts:(id)args
[[TiApp app] showModalController:contactPicker animated:animated];
}

- (TiContactsPerson *)getPersonByID:(id)arg
{
DebugLog(@"[WARN] The \"getPersonByID\" method has been removed for iOS 9 and greater.");
return nil;
}

- (TiContactsGroup *)getGroupByID:(id)arg
{
DebugLog(@"[WARN] The \"getGroupByID\" method has been removed for iOS 9 and greater.");
return nil;
}

- (TiContactsPerson *)getPersonByIdentifier:(id)arg
{
if (![NSThread isMainThread]) {
Expand Down

0 comments on commit e8c4b43

Please sign in to comment.