Skip to content

Socialprofiles not working #55

@cor277

Description

@cor277

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions