using-mobile-native-capabilities

安装量: 550
排名: #9114

安装

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

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 499 Repository forcedotcom/sf-skills GitHub Stars 549 First Seen 9 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Warn

返回排行榜