Contact Picker API

Open
#1,462 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
mobile, web-dev

Research direction

Review the W3C Contact Picker API specification to understand the feature. Examine existing web-platform-tests for contact-picker to see current coverage. Check Chromium and WebKit implementations and their feature flag status. Determine what interop tests are missing and design tests to cover gaps between implementations.

Written by the indexing model from the issue text.

Description

focus-area-proposal
Description

The Contact Picker API lets a user choose specific contacts from their device's address book and share only the requested fields with a website

The interop problem: the API is implemented in more than one engine, but developers can only rely on it in one browser. Chromium has shipped it on Android since Chrome 80. WebKit has had an implementation since 2020 (iOS 14.5), but only behind a feature flag, and it has never been enabled by default

Common use cases include messaging, payments, invites, referral onboarding and sharing, where native apps get a system contact picker - web apps have to ask users to type phone numbers and emails by hand.

Specification

https://www.w3.org/TR/contact-picker

web-feature

contact-picker

Test Links

No response

Additional Signals

No response

Dominant language
JavaScript
Stars
591
Forks
39
Avg merge
3h 8m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from web-platform-tests/interop

All issues in web-platform-tests/interop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.