Downloading Files and Managing Sharing
Uploading Files
Encryption and Caching
Using Files in Hybrid Apps
Configure WebSockets
REST Wrappers for SFAP APIs
Using Key-Value Stores for Secure Data Storage
Dark Mode and Dark Theme Settings
Hybrid file request wrappers reside in the force+files.js JavaScript library. When using the hybrid functions, you pass in a callback function that receives and handles the server response. You also pass in a function to handle errors.
To simplify the code, you can use the mobilesync.js and force.js libraries to build your HTML app. The FileExplorer sample app in the github.com/forcedotcom/SalesforceMobileSDK-Shared repo demonstrates this setup.
Mobile SDK does not support file uploads in hybrid apps.
Note
We've Moved