Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

[Feature request] Add labels to phone & email objects #35

Open
tarasmelnychuk opened this issue Jun 10, 2019 · 1 comment
Open

[Feature request] Add labels to phone & email objects #35

tarasmelnychuk opened this issue Jun 10, 2019 · 1 comment

Comments

@tarasmelnychuk
Copy link
Contributor

Would be great if email & phone objects will contain labels.

@tarasmelnychuk
Copy link
Contributor Author

Here is how I imagine ContactInformation type after update

interface ContactConnectionProperty {
  value: string;
  label: string;
}

interface ContactInformation {
  emails: ContactConnectionProperty[];
  firstName: string;
  lastName: string;
  numbers: ContactConnectionProperty[];
}

https://stackoverflow.com/a/10275572 - described how to retrieve labels from kABPhoneProperty and kABEmailProperty. Unfortunately, can't create PR for it since I'm familiar with C languages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant