Mobile SDK Development Guide Developer
User Manual:
Open the PDF directly: View PDF
Page Count: 444 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Preface
- Introduction to Salesforce Mobile SDK Development
- What's New in Mobile SDK 5.1
- Getting Started With Mobile SDK 5.1 for Android and iOS
- Updating Mobile SDK Apps (5.0 and Later)
- Welcome to Mobile SDK Labs!
- Native iOS Development
- iOS Native Quick Start
- Native iOS Requirements
- Creating an iOS Project with forceios
- Use CocoaPods with Mobile SDK
- Developing a Native iOS App
- Using iOS App Extensions with Mobile SDK
- Tutorial: Creating a Native iOS Warehouse App
- iOS Sample Applications
- Native Android Development
- Android Native Quick Start
- Native Android Requirements
- Creating an Android Project with forcedroid
- Setting Up Sample Projects in Android Studio
- Developing a Native Android App
- Android Application Structure
- Native API Packages
- Overview of Native Classes
- SalesforceSDKManager Class
- KeyInterface Interface
- PasscodeManager Class
- Encryptor class
- SalesforceActivity, SalesforceListActivity, and SalesforceExpandableListActivity Classes
- UI Classes
- ClientManager Class
- RestClient Class
- RestRequest Class
- FileRequests Class
- OkHttp: The Underlying Network Library
- LoginActivity Class
- Other UI Classes
- UpgradeManager Class
- Utility Classes
- ForcePlugin Class
- Using Passcodes
- Resource Handling
- Using REST APIs
- Unauthenticated REST Requests
- Deferring Login in Native Android Apps
- Android Template App: Deep Dive
- Tutorial: Creating a Native Android Warehouse Application
- Prerequisites
- Create a Native Android App
- Customize the List Screen
- Create the Detail Screen
- Step 1: Create the Detail Screen
- Step 2: Create the DetailActivity Class
- Step 3: Customize the DetailActivity Class
- Step 4: Link the Two Activities, Part 1: Create a Data Class
- Step 5: Link the Two Activities, Part 2: Implement a List Item Click Handler
- Step 6: Implement the Update Button
- Step 7: Try Out the App
- Android Sample Applications
- HTML5 and Hybrid Development
- Getting Started
- HTML5 Development Tools
- Delivering HTML5 Content With Visualforce
- Accessing Salesforce Data: Controllers vs. APIs
- Hybrid Apps Quick Start
- Creating Hybrid Apps
- Debugging Hybrid Apps On a Mobile Device
- Controlling the Status Bar in iOS 7 Hybrid Apps
- JavaScript Files for Hybrid Apps
- Versioning and JavaScript Library Compatibility
- Managing Sessions in Hybrid Apps
- Defer Login
- Remove SmartStore and SmartSync From an Android Hybrid App
- Offline Management
- Using SmartStore to Securely Store Offline Data
- About SmartStore
- Enabling SmartStore in Hybrid and Native Apps
- Adding SmartStore to Existing Android Apps
- Creating and Accessing User-based Stores
- Using Global SmartStore
- Registering a Soup
- Using Arrays in Index Paths
- Populating a Soup
- Retrieving Data from a Soup
- Smart SQL Queries
- Using Full-Text Search Queries
- Working with Query Results
- Inserting, Updating, and Upserting Data
- Using External Storage for Large Soup Elements
- Removing Soup Elements
- Managing Soups
- Managing Stores
- Testing with the SmartStore Inspector
- Using the Mock SmartStore
- Using SmartSync to Access Salesforce Objects
- Using SmartSync in Native Apps
- Using SmartSync in Hybrid and React Native Apps
- Using SmartStore to Securely Store Offline Data
- Files and Networking
- Push Notifications and Mobile SDK
- Authentication, Security, and Identity in Mobile Apps
- OAuth Terminology
- OAuth 2.0 Authentication Flow
- Connected Apps
- Portal Authentication Using OAuth 2.0 and Force.com Sites
- Customizing the Salesforce Login Page
- Using MDM with Salesforce Mobile SDK Apps
- Using Communities With Mobile SDK Apps
- Communities and Mobile SDK Apps
- Set Up an API-Enabled Profile
- Set Up a Permission Set
- Grant API Access to Users
- Configure the Login Endpoint
- Brand Your Community
- Customize Login, Self-Registration, and Password Management for Your Community
- Using External Authentication With Communities
- Example: Configure a Community For Mobile SDK App Access
- Example: Configure a Community For Facebook Authentication
- Multi-User Support in Mobile SDK
- Migrating from Previous Releases
- Migrate Android Apps from 5.0 to 5.1
- Migrate iOS Apps from 5.0 to 5.1
- Migrate Hybrid Apps from 5.0 to 5.1
- Migrating from Earlier Releases
- Migrate Android Apps from 4.3 to 5.0
- Migrate iOS Apps from 4.3 to 5.0
- Migrate Hybrid Apps from 4.3 to 5.0
- Migrate Android Apps from 4.2 to 4.3
- Migrate iOS Apps from 4.2 to 4.3
- Migrate Hybrid Apps from 4.2 to 4.3
- Migrate Android Apps from 4.1 to 4.2
- Migrate iOS Apps from 4.1 to 4.2
- Migrate Hybrid Apps from 4.1 to 4.2
- Migrate Android Apps from 4.0 to 4.1
- Migrate iOS Apps from 4.0 to 4.1
- Migrate Hybrid Apps from 4.0 to 4.1
- Instrumentation and Event Collection
- Reference
- Index