mobile-platform-native-capabilities-integrate

安装量: 1K
排名: #7344

安装

npx skills add https://github.com/forcedotcom/sf-skills --skill mobile-platform-native-capabilities-integrate

Using Mobile Native Capabilities The lightning/mobileCapabilities module exposes a set of factory functions that return service objects for native device features (barcode scanning, biometrics, location, etc.). Each service extends a common BaseCapability with an isAvailable() method, so an LWC can degrade gracefully on surfaces where the capability is not present (desktop, mobile web). This skill routes an agent through (1) picking the right capability, (2) loading the authoritative type definitions, and (3) wiring the service into an LWC with the correct availability gating, error handling, and deprecation-aware API choice. When to Use This Skill Show more Installs 648 Repository forcedotcom/sf-skills GitHub Stars 675 First Seen 11 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Warn

返回排行榜