There was an issue where if you delete the contact it seems like it doesn't get deleted and keeps apearing until you delete the last contact.
But, it's an illusion!
The reason is, if you fetch all contacts with the 'getAll' parameter true in the method, then it will not get the contacts with the same name again. So, to overcome the delete bug, you'll have to make it 'true' so you'll get proper contactId and all of the selected contacts will get deleted properly. If you don't want it that way then, you'll have to apply the duplicate contact deletion logic yourself.
Here is the method where you'll have to pass 'true',
There was an issue where if you delete the contact it seems like it doesn't get deleted and keeps apearing until you delete the last contact.
But, it's an illusion!
The reason is, if you fetch all contacts with the 'getAll' parameter true in the method, then it will not get the contacts with the same name again. So, to overcome the delete bug, you'll have to make it 'true' so you'll get proper
contactId
and all of the selected contacts will get deleted properly. If you don't want it that way then, you'll have to apply the duplicate contact deletion logic yourself.Here is the method where you'll have to pass 'true',