Salesforce components that use your phone's features.
Builds Salesforce LWCs that use native mobile features with availability checks, typed error handling, and non-deprecated APIs.
When to use it
Use when asked to build an LWC using native device capabilities or to identify which mobile native API fits a feature.
Give it a native mobile feature to build in an LWC project; it wires in the appropriate service with availability checks and error handling.
What you provide
The generated LWC must run inside a supported mobile container, such as Salesforce Mobile App or Field Service Mobile App, to use native capabilities; desktop and mobile web are unsupported.
The LWC needs access to lightning/mobileCapabilities. The module is declared globally inside Salesforce mobile containers; outside them, its types must be installed separately.
No additional actions listed.