Use Mobile Device Features in Mobile Apps
Mobile capabilities are built by Salesforce using the Nimbus framework. Nimbus creates a bridge between Lightning web components and a mobile device’s native operating system and hardware. Nimbus plugins use the Nimbus framework, and are compiled into Salesforce mobile apps, with each plugin providing access to a specific feature area.
Nimbus plugins expose native features to Lightning web components through JavaScript APIs, allowing you to easily access these features in your Lightning web components.
Mobile capabilities built with Nimbus can only be used when your Lightning web component runs in a supported mobile app running on a mobile device. They are built on, and depend on, compiled code included in the mobile app. They cannot be used on desktop, or in a mobile web browser.
Mobile Capabilities Compatibility Summary
Mobile capabilities are supported individually by each Salesforce mobile app. Not every mobile capability is supported in every mobile app. The following table provides a compatibility overview, but see the compatibility topic for each mobile capability for full compatibility details.
| Mobile Capability | Salesforce Mobile | Salesforce Mobile App Plus | Mobile Publisher | Field Service Mobile |
|---|---|---|---|---|
| AppReviewService | ||||
| BarcodeScanner |
|
|||
| BiometricsService | ||||
| CalendarService |
|
|||
| ContactsService |
|
|||
| DocumentScanner | ||||
| GeofencingService | ||||
| LocationService |
|
|||
| NFCService |
|
|||
| PaymentsService |