mobile-platform-native-capabilities-integrate

Build Salesforce Lightning web components that integrate native mobile device capabilities.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill mobile-platform-native-capabilities-integrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mobile-platform-native-capabilities-integrate
Source: https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG/tree/main/.agents/skills/mobile-platform-native-capabilities-integrate
Command: npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill mobile-platform-native-capabilities-integrate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps you build Salesforce Lightning web components that safely use native mobile hardware and operating system features only when the app is running inside a supported mobile container.

Core Features & Use Cases

  • Capability Selection: Match a request to the correct mobile service, such as barcode scanning, biometrics, location, geofencing, NFC, calendar access, contacts, document scanning, AR room capture, app review, or payments.
  • Safe Availability Gating: Check isAvailable before every call so components degrade gracefully on desktop and mobile web.
  • Typed Error Handling: Use the capability-specific failure codes to distinguish user cancellation, denied permission, disabled permissions, and service configuration issues.
  • Real-World Example: Build a field service component that scans a barcode, reads the device location, and saves the result with clear fallbacks when the feature is unavailable.

Quick Start

Ask for an LWC that uses the appropriate Salesforce mobile capability, gates every call with isAvailable, and handles the correct failure codes for the feature you need.

Frequently Asked Questions about mobile-platform-native-capabilities-integrate

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

FAQPage Schema
How do I add barcode scanning and location tracking to Salesforce mobile LWCs?

To add barcode scanning and location tracking to Salesforce mobile LWCs, use the lightning/mobileCapabilities factory imports and gate every call with isAvailable to ensure safe execution inside the mobile container.

Can I use native biometrics and NFC in a Salesforce Lightning web component?

Yes, you can use native biometrics and NFC in a Salesforce Lightning web component by importing the appropriate mobile capability service and verifying isAvailable before requesting device access.

Why does my LWC mobile capability fail on desktop or mobile web browsers?

LWC mobile capabilities fail on desktop or mobile web browsers because they require the Salesforce mobile container environment; you must check isAvailable and implement fallbacks for unsupported platforms.

How do I handle denied permissions for Salesforce mobile capabilities in LWC?

Handle denied permissions for Salesforce mobile capabilities in LWC by using typed failure handling, which distinguishes between user cancellation, denied permission, disabled permissions, and service configuration issues.

What native device features are available through the Salesforce mobile container?

Native device features available through the Salesforce mobile container include barcode scanning, biometrics, location tracking, geofencing, NFC, calendar, contacts, document scanning, AR space capture, app review, and payments.