
mobile-platform-native-capabilities-integrate
Build a Salesforce LWC that uses native mobile device capabilities
by forcedotcomFree
Description
Using Mobile Native Capabilities is an agent skill for building a Salesforce Lightning Web Component that uses native mobile device features, such as a barcode scanner, biometrics, location, NFC, calendar, contacts and a document scanner. The lightning/mobileCapabilities module exposes factory functions that return service objects for those features. Each service extends a common BaseCapability with an isAvailable() method, so a component can degrade gracefully on surfaces where a capability is missing, such as desktop or mobile web. The skill routes the agent through three steps: picking the right capability, loading the authoritative type definitions, and wiring the service into the component with correct availability checks, error handling and a deprecation-aware choice of API. It is meant for developers building LWCs for the Salesforce mobile app. The skill is published by forcedotcom/sf-skills on skills.sh with about 4.8K installs.…
Highlights
- Barcode, biometric, location, NFC and contact services
- Availability checks through isAvailable()
- Graceful fallback on desktop and mobile web
- Loads the authoritative type definitions
- Deprecation-aware choice of API
Ratings & Reviews
No ratings yet
Be the first to rate mobile-platform-native-capabilities-integrate.
People also visit

using-mobile-native-capabilities
Build a Salesforce LWC that uses native mobile device capabilities

mobile-platform-offline-validate
Review a Lightning Web Component for **mobile offline** compatibility

mobile-apps-create
The entry point for building any Salesforce native mobile app on iOS or Android

building-mobile-apps
The entry point for building any Salesforce native mobile app on iOS or Android

experience-lwc-generate
Lightning Web Components with PICKLES methodology and 165-point scoring
mobile-platform-native-capabilities-integrate FAQ
What is the Using Mobile Native Capabilities skill?
It is an agent skill that helps build a Salesforce Lightning Web Component using native device features such as barcode scanning and biometrics.
How do I install it?
Run npx skills add https://github.com/forcedotcom/sf-skills --skill mobile-platform-native-capabilities-integrate in your project.
Which device features does it cover?
Barcode scanner, biometrics, location, NFC, calendar, contacts and document scanner, as listed on the skill page.
How does a component avoid errors on desktop?
Each service has an isAvailable() method, and the skill says to gate its use on that check so the component can degrade gracefully.
What do the security audits show?
On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.
What are the best mobile-platform-native-capabilities-integrate alternatives?
Popular alternatives to mobile-platform-native-capabilities-integrate include using-mobile-native-capabilities, mobile-platform-offline-validate and mobile-apps-create. See all mobile-platform-native-capabilities-integrate alternatives
