SunnyApp / flutter_contact

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

Socialprofiles not working #55

Open cor277 opened 3 years ago

cor277 commented 3 years ago

Hi, i try to write social profiles,

Future buildContact() async { Contact internal = new Contact(); PostalAddress address = PostalAddress(label: 'Home'); address.street = AddressController.value.text; address.city = CityController.value.text; internal.emails = [ Item(label: 'Personal', value: EmailController.value.text) ]; internal.socialProfiles = [ Item(label: 'newsocial', value: IDController.value.text) ]; internal.givenName = NameController.value.text; internal.familyName = SurnameController.value.text; internal.phones = [ Item(label: 'Mobile', value: TelephoneController.value.text) ]; address.country = StateController.value.text; internal.urls = [ Item(label: 'Website', value: WebsiteController.value.text) ]; internal.postalAddresses = [address]; return internal; }

it write ALL fields, but not the social profiles into phone, and, if you write a social profile into contact, the get method have all fields, but social profile... in empty!

ericmartineau commented 3 years ago

These have not been fully implemented on Android yet