using-mobile-native-capabilities

Integrates mobile native capabilities into Salesforce LWCs.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/Collabalist/SFDC --skill using-mobile-native-capabilities
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-mobile-native-capabilities
Source: https://github.com/Collabalist/SFDC/tree/main/.agents/skills/using-mobile-native-capabilities
Command: npx skills add https://github.com/Collabalist/SFDC --skill using-mobile-native-capabilities

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of integrating native mobile device capabilities into Salesforce LWCs, allowing developers to build richer, more interactive experiences directly within the Salesforce Mobile App or Field Service Mobile App.

Core Features & Use Cases

  • Mobile Native Capabilities Integration: Incorporate barcode scanning, biometrics, location, NFC, calendar, contacts, document scanning, geofencing, AR space capture, app review, and payments directly into Salesforce LWCs.
  • Use Case: For instance, a user can scan a barcode to capture data directly within an LWC, or they can use their device's calendar to create or view events within Salesforce.

Quick Start

To use this skill, first identify the capability you want to use. For example, if you want to use the barcode scanner, map the user's feature ask to the 'Barcode Scanner' capability. Then, load the necessary references, wire the service into your LWC, and ensure the call is gated behind isAvailable().

Frequently Asked Questions about using-mobile-native-capabilities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use a barcode scanner in Salesforce LWC?

You can integrate a barcode scanner into Salesforce LWC by mapping the feature ask to the Barcode Scanner capability, loading references, wiring the service into the component, and gating the call behind the isAvailable() method.

Can I use mobile native capabilities like biometrics in Salesforce LWC?

Yes, you can integrate mobile native capabilities like biometrics, barcode scanning, NFC, and document scanning directly into Salesforce LWCs for enhanced functionality within the Salesforce Mobile App or Field Service Mobile App.

What mobile native features are available for LWC in the Salesforce Mobile App?

Available native capabilities include barcode scanning, biometrics, location, NFC, calendar, contacts, document scanning, geofencing, AR space capture, app review, and payments for LWCs running in supported mobile containers.

Do I need a specific mobile container to use native device features in Salesforce LWC?

Yes, LWCs must run in supported mobile containers such as the Salesforce Mobile App or Field Service Mobile App to leverage native device features, as availability depends on the specific mobile container environment.

How do I handle device feature availability when integrating native capabilities into LWC?

You should gate native capability calls behind the isAvailable() method to handle device feature availability safely, ensuring the LWC accounts for specific features being unavailable on different mobile devices.