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.
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.