Lightlines
By forcedotcom

mobile-platform-native-capabilities-integrate

forcedotcom4.7k installs

Salesforce components that use your phone's features.

What it does

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.

How to use it

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

  • An existing project

Uses

Latest review

What you need · 2

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.


Access · 0

No additional actions listed.