morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.64k stars 560 forks source link

empty list if contacts more than 400 #614

Closed saratpatti closed 3 years ago

saratpatti commented 3 years ago

I am getting empty list if contacts in my phone book are greater than say 400.

Last I tested for 302 contacts, list was visible fine but for larger list of contacts app is unable to display contacts.

morenoh149 commented 3 years ago

the latest version returns a promise, which is why you see that error.

We need another engineer to reproduce the issue. I don't have the time to reproduce it myself.

morenoh149 commented 3 years ago

@saratpatti I don't know how to fix your issue. If you follow the readme and read the example project you'll see how to use the software

https://github.com/morenoh149/react-native-contacts/blob/master/example/App.js#L64

github-actions[bot] commented 3 years ago

This issue is stale, please provide more information about the status

micha1333 commented 2 years ago

Hello Everyone, I am getting an empty list if contacts are greater than 500. I have tested on multiple devices. first phone has 200 people, this package works well. second phone has 300 people, this package works well. other devices have 450, 1000 peoples, this package gives an empty list. I am sure that it does not work well if there is over 400 people in phone contacts. Please help me.

Best regards, Mikhailo