I have project a use Expo Contact module to update automatically contact .
This is my script to update phone number selected
const updateContact = async (callId, newCall) => {
getSingleContact(callId)
.then(resp => {
.......
Contacts.updateContactAsync(contact)
.then(updCall => console.log('updateCall :::> ', updCall))
})
.catch(error => console.log('Error detected :::> ', error))
}
My program return callId
Please explian me how to update data by Contact module
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…