Mobile Offline
DOWNLOAD
First things first !
To download this implementation guide, click the download button below.
If you need more information about the implementation guide, you can read the Table of Contents below.
Offline
Chapter Create MobileReady Components
Understand Mobile Development
Use BuiltIn Mobile Tools and Features
Validate Your Base Component References
Use Mobile Validation with Salesforce Lightning Design System
Minimize Bandwidth Usage
Create Responsive Layouts
Follow Accessible Mobile Design Guidelines
Disable PulltoRefresh in the Salesforce Mobile App
Chapter Use Mobile Device Features in Mobile Apps
Request App Review
AppReviewService User Experience
Use the AppReviewService API
AppReviewService Example
Compatibility and Requirements
Considerations and Limitations
Scan Barcodes
Barcode Scanning User Experience
Use the BarcodeScanner API
BarcodeScanner ExampleModern Scanning API
BarcodeScanner ExampleSingle Scan Legacy
Scan Multiple Barcodes Legacy
BarcodeScanner ExampleContinuous Scanning Legacy
Create a SelfService Kiosk Application
BarcodeScanner ExampleSelfService Kiosk Legacy
Customize the BarcodeScanner User Interface
Compatibility and Requirements
Considerations and Limitations
Access Device Biometrics
BiometricsService User Experience
Use the BiometricsService API
BiometricsService Example
Compatibility and Requirements
Considerations and Limitations
Manage Calendar Events
CalendarService User Experience
Use the CalendarService API
CalendarService Example
Compatibility and Requirements
Considerations and Limitations
Access Contacts
ContactsService User Experience
Use the ContactsService API
ContactsService Example
Compatibility and Requirements
Considerations and Limitations
Use Location
LocationService User Experience
Location Basics
Use the LocationService API
LocationService Example
Compatibility and Requirements
Considerations and Limitations
Chapter Offline Considerations and Limitations
General Considerations
Considerations for Field Service Mobile App
Base Components Support
Modules Support
Wire Adapters Support
Entity Support
Metadata and Custom Metadata Types Support
Chapter Offline Environment Details
What Happens When Something Isnt Primed Preloaded
Create Components with Offline Analysis In Mind
Determine Online or Offline Status
Chapter Use Salesforce Features While Offline
Use GraphQL While Mobile and Offline
Understand Salesforce GraphQL Implementations
Feature Limitations of Offline GraphQL
Best Practices for Using GraphQL in LWC Offline
Use Apex While Mobile and Offline
Use Apex in Lightning Web Components While Online
Enable Caching of Apex Results
Apex Results Are Separate from Other Primed Data
Understand Apex Behavior While Offline
Additional Considerations for Apex in an OfflineEnabled Mobile App
Additional Documentation for Apex in Lightning Web Components
Use Images in an LWC OfflineEnabled Component
Use Images Uploaded as Files ContentDocument in an LWC
Use Images Uploaded as Asset Files
Use Images Uploaded as Static Resources
Image Priming and Offline Considerations
Upload Images While Offline Beta
Understand File Uploads in Salesforce
Image Upload Basics
Image Upload Example
Use ThirdParty JavaScript in an LWC OfflineEnabled Component
Navigation
Navigation User Experience
Base Components with BuiltIn Navigation Actions
Programmatic Navigation Actions
Chapter Development Tools and Processes
Understand the Mobile Development Cycle
Set Up Your Development Environment
Set Up Xcode
Set Up Android Studio
Install Mobile Extensions
Preview Components on Mobile
Mobile Development Preview Environments
Preview from the Command Line
Preview from VS Code
Preview in the Salesforce Mobile App
Preview in Custom Mobile Apps
Validate Lightning Web Components for Offline Use
Install the Komaci Static Analyzer
Troubleshoot Installation Problems
Validate Components During Development
Static Analyzer Validation Rules
Develop OfflineReady LWCs with the LWC Offline Test Harness
Test Harness Overview
Install the Test Harness App
Use the Test Harness App
Debug Lightning Web Components
Debug Mobile Components
Customize the Offline Experience for the Salesforce Mobile App
Prerequisites Setup Considerations
Download and Install
Configure the Offline Experience
Chapter Quick Start Tutorials
Develop a Lightning Web Component Quick Action
Prerequisites
Field Service Org Setup
iOS Simulator Setup
Android Emulator Setup
Workspace Setup
Create and Configure a Lightning Web Component
Debug Lightning Web Components in the Field Service Mobile App
Install Local Development Server Plugin
Debug in iOS
Debug in Android