Skip to content

htz/SalesforceMobileSDK-Shared

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce.com Mobile SDK Shared

This repository contains JavaScript artifacts that are shared between the different Salesforce Mobile SDK repositories. For more information, please check out the Salesforce Mobile SDK for Android, or the Salesforce Mobile SDK for iOS.

/libs

Contains all the SalesforceMobileSDK JavaScript libraries.

cordova.force.js

Contains all the Cordova plugins for the SalesforceMobileSDK (oauth / smartstore / sdkinfo). Includes this library after cordova.js in your HTML application.

forcetk.mobilesdk.js

Library to do REST API calls from JavaScript.

smartsync.js

Contains the new SDK 2.0 SmartSync data library. This library depends on forcetk.mobilesdk.js and cordova.force.js. It also requires jquery, underscore and backbone.

/external

Contains all the external libraries used in sample apps or required by some of the libraries above:

backbone

Contains backbone and underscore.

jquery

Contains jquery and jquery mobile. Required by SmartSync library and used in some of the sample apps.

qunit

Contains qunit. A unit test library for JavaScript.

/SampleApps

Contains all the SalesforceMobileSDK JavaScript sample applications.

smartsync

Contains sample applications demonstrating the use of the new SDK 2.0 SmartSync library:

  • UserAndGroupSearch.html: simplest sample app with a single search/list screen that allows searching for users or collaboration groups
  • UserSearch.html: another sample app that allows searching for users and has a basic user detail screen to the search/list screen
  • AccountEditor.html: most advanced sample app that allows searching for accounts, editing their details, creating new accounts or deleting existing accounts. It also works offline and detects conflicts when records have changed on the server.

contactexplorer

HTML/CSS/JavaScript used by ContactExplorer application.

smartstoreexplorer

HTML/CSS/JavaScript used by SmartStore Explorer application.

vfconnector

Contains bootconfig.json for VF Connector application.

/test

Contains all the tests for the SalesforceMobileSDK JavaScript libraries.

test.html

HTML page to run the tests outside the container.

MockCordova.js, MockSDKInfo.js, MockSmartStore.js

Libraries used to mock the container when running tests directly in a browser.

SFTestSuite.js, SFAbstractSmartStoreTestSuite.js

Super class of test suites.

SFSmartStoreTestSuite.js, SFLSmartStoreLoadTestSuite.js

Test suites for SmartStore.

SFSmartSyncTestSuite.js

Test suite for the new SDK 2.0 SmartSync library.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.0%
  • CSS 8.0%