Contact sorting on IOS

SDK Version: ~38.0.8
Platforms(Android/iOS/web/all): IOS

The docs at https://docs.expo.io/versions/v38.0.0/sdk/contacts/#contactsgetdefaultcontaineridasync
Say that sorting is not available on ios, yet in the constants section there is

const sortType = Contacts.SortTypes.FirstName;

where in all 3 options for iOS are selected. I am confused as to how i can implement sorting on IOS using the code above. Or else i shall have to write a sorting algorithm tailored to this object. I would prefer not to write this. Thank you

Hey @whoisdominic,

The docs need to be updated unfortunately. You are able to sort on iOS. If you have a problem implementing sort functionality, let me know.

Cheers,
Adam

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.