Closed farrukh-hashmi closed 6 years ago
I too get 1 in response on IOS. Would really appreciate a fix. Thank you.
only contacts with a "mobile" number were being returned, now all users will be returned... with number=mobile when possible, and the first available otherwise.
Testing in IOS 6s Plus simulator getContacts() returns all the contacts with mobile or phone. Testing in iPhone 5s with over 1600 contacts, getContacts() returns ONE contact who does not have a phone number. Still, both in the IOS simulator and iPhone, getProfile() and findContactByNumber(number) return the number 1.
Dear Luc,
Testing in IOS 6s Plus simulator getContacts() returns all the contacts with mobile or phone. Testing in iPhone 5s with over 1600 contacts, getContacts() returns ONE contact who does not have a phone number. Still, both in the IOS simulator and iPhone, getProfile() and findContactByNumber(number) return the number 1.
Would really appreciate a solution for this problem.
Thanks,
Uday
On 31-Jan-2018, at 7:57 PM, Luc Belliveau notifications@github.com wrote:
only contacts with a "mobile" number were being returned, now all users will be returned... with number=mobile when possible, and the first available otherwise.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucbelliveau/react-native-simple-contacts/issues/2#issuecomment-361947811, or mute the thread https://github.com/notifications/unsubscribe-auth/AblkeNx6iaO02cS8LhDnDC45JGpoTI9Dks5tQHg2gaJpZM4RUPWW.
findContactByNumber not getting contact. Already test it with android and it is working fine in android but not getting contact in IOS device. Manual settings are verified. Getting 1 in response