Access Contacts on a Mobile Device

A Lightning web component can use a mobile device’s contacts feature to select contacts from the device. When contacts are selected, they’re returned to the Lightning web component that invoked it. Your component can import the contacts into Salesforce, attach contact data to a record, or otherwise process the contacts as needed.

Contacts are accessed locally on the mobile device, and ContactsService doesn’t require a network connection. However, ContactsService requires access to platform-specific APIs that are available only within compatible Salesforce mobile apps.

ContactsService does not and cannot function when running in a web browser, whether on a desktop or mobile device.

Important