Architecture

Beginning with Mobile SDK 4.2, the Android REST request system uses OkHttp (v3.2.0), an open-source external library from Square Open Source, as its underlying architecture. This library replaces the Google Volley library from past releases. As a result, Mobile SDK no longer defines the WrappedRestRequest class. For more information, see square.github.io/okhttp/.

In iOS, file management and networking rely on the SalesforceNetwork library. All REST API calls—for files and any other REST requests—go through this library.

If you directly accessed a third-party networking library in older versions of your app, update that code to use the SalesforceNetwork library.

Hybrid JavaScript functions use the the Mobile SDK architecture for the device operating system (Android, iOS, or Windows) to implement file operations. These functions are defined in force.js.