QuisApp / flutter_contacts

MIT License
88 stars 143 forks source link

Suggestion about Account #78

Open starshipcoder opened 2 years ago

starshipcoder commented 2 years ago

On iOs account contains: -rawId : the account container -name: the name container -type: the type, always the same for a container -mimetype: not used

On android: -rawId: the raw id of the raw contact, -name: the account name -type: the account type -mimetypes: a list of mimetype found in this raw contact

In my opinion, as mimetypes and rawId are not the same for a specific account, it should be in another object (RawProperties or something else) Account could have a accountId to identify it, it would be usefull for action on an account.

ThalesVonMilet commented 1 year ago

Hi, so I want to know the phone number of my user cause I want to find people on my server who have the contact of my user. Any suggestions to solve this problem or a way to get the phone number of my user through the contacts? I don't want to ask my user to type in his number :/

joachim-quis commented 1 year ago

@ThalesVonMilet please open a separate ticket for this.

@starshipcoder thanks for the suggestion! To understand better, you're saying essentially:

Let me know if you have something else in mind.

starshipcoder commented 1 year ago

To be more clear: on android, rawId and mimetypes are specific to the contact, not to the account so it should not be inside the account.