Open cor277 opened 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!
These have not been fully implemented on Android yet
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!