When Deleting A Contact On Android, Other Random Contacts Id's Being Changed
I am trying to sync user phone numbers to firestore. It seems to work but when i delete a contact from my phone, it seems like some other contacts id's are being replaced, causing
Solution 1:
From the documentations and articles it seems that android can sometimes change the contact id, this is very strange and un-expected but makes sense after my many weeks and attempts trying to solve this issue.
From what i can understand, the reasons are quite diverse so i can guess also in my case when one change or delete of contact can change other contact id's.
It seems that to overcome, i need to use the `LOOKUP_KEY, which i yet to understand how.
Some documentations includes:
Detecting changes in android contacts
Check if contact has been changes on...
Hopes it helps since the android documentations are so hard to follow
Post a Comment for "When Deleting A Contact On Android, Other Random Contacts Id's Being Changed"