Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature detection & create the concept of a Contacts Source. #26

Merged
merged 7 commits into from
Oct 2, 2019

Conversation

rayankans
Copy link
Collaborator

This removes a bit of handwaviness from the user agent getting contact information.

It also helps with the feature detection issue (#19), but also goes a step further by allowing developers to query if a contact property is available by the UA's choice of contacts source.

This also adds the ability to feature-detect by exposing available
contact properties.
@rayankans
Copy link
Collaborator Author

A question that comes to my mind is whether properties should return a Promise. Is this the sort of information the browser will immediately know on start-up?

@rayankans rayankans merged commit 391449d into master Oct 2, 2019
@rayankans rayankans deleted the featuredetection branch November 4, 2019 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant