SunnyApp / flutter_contact

A flutter plugin for retrieving, creating, saving, and watching contacts on native devices
BSD 3-Clause "New" or "Revised" License
81 stars 62 forks source link

openContactInsertForm only parsing phone number #47

Closed kadersaka closed 3 years ago

kadersaka commented 3 years ago

image WhatsApp Image 2021-02-24 at 04 52 36 When i call "openContactInsertForm " and i pass it my contact object, it only parse the phone number and the email, other fields (displayName, givenName , familyName...) are not parsed, even with your library's example project.

ericmartineau commented 3 years ago

I tried to use the ContactsContract.Intents.Insert.DATA field, but I could never get it to work properly. I did make a change so that it will use given/family or displayName, depending on which has values. That should get the name to show up at least.