Mobile SDK Development Guide
Developer Edition or Sandbox Environment?
Development Prerequisites for iOS and Android
Sign Up for Salesforce Platform
Install Node.js, npm, and Git Command Line
Mobile SDK npm Packages
iOS Preparation
Android Preparation
Uninstalling Mobile SDK npm Packages
Mobile SDK GitHub Repositories
Using Lightning Web Components in Hybrid Apps
Using Key-Value Stores for Secure Data Storage
Dark Mode and Dark Theme Settings
iOS Current Deprecations
iOS APIs Removed in Mobile SDK 11.0
Android Current Deprecations
Android APIs Removed in Mobile SDK 11.0
Trademark Attributions
Removing UIWebView from iOS Hybrid Apps
Installing Mobile SDK
Salesforce Mobile SDK provides two
installation paths.
- Download the Mobile SDK open source code from GitHub and set up your own development environment.
- Use a Node Packaged Module (npm) script provided by Salesforce to create your own ready-to-run Mobile SDK projects.
-
Install Node.js, npm, and Git Command Line
Many mobile developers want to use Mobile SDK as a “black box” and begin creating apps as quickly as possible. For this use case, Mobile SDK offers a variety of npm command line scripts that help you create apps. If you plan to take advantage of these npm tools, you first install Node.js. The Node.js installer automatically installs npm. You also install the latest version of the Git command line. -
Mobile SDK npm Packages
Most mobile developers want to use Mobile SDK as a “black box” and begin creating apps as quickly as possible. For this use case Salesforce provides a set of npm packages. Each package installs a command line tool that you can use at a Terminal window or in a Windows command prompt. -
iOS Preparation
To create Mobile SDK apps for iOS, you must install the necessary Apple software. If you plan to use forceios, you also install CocoaPods. -
Android Preparation
Before you try to create Mobile SDK apps for Android—native, hybrid, or React Native—install the Android native development environment. -
Uninstalling Mobile SDK npm Packages
If you need to uninstall an npm package, use the npm script. -
Mobile SDK GitHub Repositories
More adventurous developers can delve into the SDK, keep up with the latest changes, and possibly contribute to SDK development through GitHub. Using GitHub allows you to monitor source code in public pre-release development branches. In this scenario, your app includes the SDK source code, which is built along with your app.