Questions tagged [react-native-contacts]
36 questions
0
votes
0 answers
react-native-contact API getAll not working
I have a problem running the react-native-contact package with the getAll API, with messages:
Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.
[[49,22],[4,0],[[248,2000,1683564057640,false]],8807]
Error:…

jimy
- 1
0
votes
1 answer
How to get or fetch real time contacts in react native
Anyone knows how to get or fetch real time contacts in react native. I used react-native-contacts library. first of all i'm getting my all contacts in app. but suppose if i change any contacts name in my phone then it should be updated in my app as…

vrinsoft
- 1
- 1
0
votes
0 answers
Fetching React native contacts and sending it to backend to fetch existing user in app
Here i am fetching all contacts from user's device and formatting it all to pass in API. and some numbers are with country code and some
are without country code. so here i also formatting all the contacts
without country code. this process runs…

Akib Shaikh
- 47
- 5
0
votes
0 answers
why i'm getting duplicate phone number in react-native-contacts , i want get unique phone number
I'm getting All contacts number in android phone using React-native-contacts
problem: i want fetch unique phone number as par every name
async function getCallData() {
try {
const granted = await PermissionsAndroid.request(
…

Sujeet kumar
- 54
- 8
0
votes
0 answers
Permission Denied in android
i have added permission and is already given in app to access my contacts but still i see permission denied
React.useEffect(() => {
Contacts.checkPermission().then(permission => {
console.log('see permission', permission);
//…

Akram Syed
- 16
- 2
0
votes
1 answer
can't build project after installing react native contacts
after installing the "react-native contacts" i get error in run time and it cant download gardle 4.1.0, so what i did just running command "npm i react-native-contacts" and my project config is like below:
pachage.json
"react-native":…

shahrooz bazrafshan
- 545
- 4
- 17
0
votes
1 answer
React-Native-Contacts: Cannot read property 'getAll' of null
I am following this blog to set up react-native-contacts. After following the steps when I try to get all contacts
Contacts.getAll().then((contacts) => {
console.log(contacts)
})
I get this error.
TypeError: Cannot read property…

Javier
- 290
- 2
- 10
0
votes
0 answers
React native long list is very slow ( while using contacts package)
I'm fetching the contacts data from user phone then mapping and creatings sorted and more minimal data(name,phone,recordId)
In my case i got 475 contact on my phone. Selecting and listing this contacts are very slow
package
import Contacts from…

tes krmtstk4
- 13
- 6
0
votes
1 answer
React Native: Save Multiple contacts to phone contacts
I have lists of contacts in array. Now I want to save that contacts in my phone contacts using react-native-contacts library. So Is it possible to achieve this functionality using react-native-contacts package or any other package.
Using…

Maxx P
- 148
- 10
0
votes
0 answers
React Native Select Contacts Checkmark with FlatList
I'm new to react native and i am trying to make a contacts checkmark from FlatList with Large data items.
We can select one or more items and I want to pass these all selected contacts to another screen when i clicked on DONE button ..
like this in…

Windas_Coder
- 21
- 1
- 4
0
votes
1 answer
Add contacts to a group (react-native-contacts)
How can I save my contacts as a group on the phone?
Anyone have an idea?
0
votes
1 answer
How to load contact details into multi select drop down in react native?
I am creating a react native app to load phone book contacts to my app using this library. I loaded contact correctly in my app. Now I wanted to load these contact details in to multi select drop down. I used react-native-multiple-select to load…

Sidath
- 379
- 1
- 9
- 25
0
votes
1 answer
How to Insert Array data into database in react native?
I am creating a react native app to load phone book contacts to my app using this library. I loaded contact correctly in my app. Now I wanted to save contact details into the SQL database. How can I insert array data into the SQL database?

Sidath
- 379
- 1
- 9
- 25
0
votes
2 answers
How to load contacts alphabetically in react native?
I am creating a react native app to load phone book contacts to my app using this library. I loaded contact correctly in my app. But contacts not in alphabetically order. Now I wanted to load contacts alphabetically order. How can I do that?
This is…

Sidath
- 379
- 1
- 9
- 25
0
votes
1 answer
How can I check new contact added in phone
I'm use react-native and react-native-contacts, so, I need the total list of contacts to persist that. Then, when the user open again the app I need to check contacts added for save it again only this newers.
Exist any method for that?