QuisApp / flutter_contacts

MIT License
88 stars 143 forks source link

Add universal contact id #63

Open maxoertel opened 2 years ago

maxoertel commented 2 years ago

Hi and thank you so much for this amazing plugin ❤️

I have a question. I have two Android test devices logged in with the same Google account (= same Google contacts). When I import the contacts, they have different ids. contact.id is on one phone 2 and on another one23.

Could you please add the field originalUID to the Contact class:

class Contact {
...
    String originalUID;
...
}

It refers to the global contact id (on Android it would be filled with the Google contact id). This way we have a unique identifier which stays correct even after device change.

I would very appreciate that! Best, Max

sanchitmonga22 commented 5 months ago

Hi, is there any update on this?

I want to handle the use case in which I am storing the contact info and if the user has 2 devices: android and iOS and have similar contacts, is the id property in contact will it remain the same?

Thanks, Sanchit

Dionnie123 commented 3 months ago

Any update on this?