add-mobilesync-android

Upgrade Android Kotlin apps to Salesforce MobileSync SDK and configure JSON sync definitions.

58|63|Updated Oct 26, 2016
One-click install
npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Templates --skill add-mobilesync-android
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-mobilesync-android
Source: https://github.com/forcedotcom/SalesforceMobileSDK-Templates/tree/main/.claude/skills/add-mobilesync-android
Command: npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Templates --skill add-mobilesync-android

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies adding Salesforce MobileSync to existing Android Kotlin applications, enabling offline data synchronization with minimal configuration.

Core Features & Use Cases

  • SDK Initialization Upgrade: Replaces SmartStore SDK setup with MobileSync SDK to support cloud data sync.
  • Sync Configuration: Automates creation of sync definitions targeting specific Salesforce objects and local soups.
  • Use Case: Developers can quickly extend their app to support offline sync of Salesforce data, such as accounts or contacts, without extensive rework.

Quick Start

Follow the instructions to update SDK initialization, modify activity code to set up user store and syncs, and create a JSON configuration file for syncs.

Frequently Asked Questions about add-mobilesync-android

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Salesforce MobileSync to an existing Android Kotlin app?

Salesforce MobileSync enables offline data synchronization in Android Kotlin apps by upgrading the SmartStore SDK setup to the MobileSync SDK. It configures local soups and automates sync definitions for specific Salesforce objects, allowing local and server data integration without extensive rework.

How do I configure sync definitions for Salesforce objects in Android?

You configure sync definitions for Salesforce objects by preparing a JSON configuration file that targets specific Salesforce objects and local soups. This automates the synchronization setup between the local Android data store and the Salesforce server.

Do I need to replace SmartStore SDK to use MobileSync SDK for offline sync?

Yes, you need to replace SmartStore SDK initialization with MobileSync SDK setup to support cloud data sync. Upgrading the SDK initialization allows your Android app to handle offline synchronization with Salesforce data effectively.

Can I synchronize specific Salesforce objects like accounts and contacts offline?

Yes, you can synchronize specific Salesforce objects such as accounts or contacts offline. By creating targeted sync definitions in a JSON configuration file, the MobileSync SDK manages the data integration between your local soups and the server.

What are the limitations of upgrading to MobileSync SDK for Android?

The MobileSync SDK integration requires modifying existing activity code to set up user stores and syncs, and relies on preparing JSON sync definitions. Developers must handle these configuration steps to ensure proper local and server data synchronization.