Salesforce is proud to release the latest Mobile SDK to our development community. Over the last few years, we have seen a tremendous shift in tools used for mobile development. To best serve our community, we completely decoupled core SDK components, and migrated as much of the library distribution CocoaPods and Gradle to embrace the latest best practices. The highlights of this release also feature the following:
Library Modularization Enhancements
Mobile SDK libraries have been refactored to support independent consumption. Native apps no longer require Cordova dependencies. Pick and choose from the following list of libraries to include in your apps:
iOS | Android |
SalesforceSDKCore
SalesforceHybridSDK SalesforceNetwork SalesforceRestAPI SmartStore SmartSync |
SalesforceSDK
SalesforceHybrid SmartStore SmartSync
|
Support for the latest Mobile Operating Systems
The latest release of iOS9 and Android Marshmallow introduced numerous changes to for developer productivity. The 4.0 release fully embraces core new features like bitcode, dynamic CocoaPod framework targets, and the latest target APIs. We’ve also raised the minimum requirements to iOS 8.0 and Android 4.4 (KitKat).
Alignment with the most recent versions of Cordova
Cordova remains the indispensable tool for creating hybrid app. Our unified architecture lets developers consume the same powerful libraries in native or hybrid apps without compromises.
Salesforce Mobile SDK Labs
The new SalesforceReact library provides the ability to use React Native in Salesforce connected apps Mix and match the best aspects of native components driven by JavaScript and some of your most favorite SDK libraries. Refer to the React Native chapter in the Mobile SDK Development Guide for details on how to use this feature.
Other Technical Improvements and required development tools
- TLS 1.1 and 1.2 are now the default protocols used for networking on Mobile SDK. See this blog post for important information.
- Raised the minimum XCode version required by Mobile SDK to Xcode 7.
- Android Studio and Gradle are fully supported. Eclipse and ant are no longer supported.
- Removed the dependency on SalesforceCommonUtils. Mobile SDK for iOS is now fully open source.
- Improvements to sample apps.
- Various bug fixes and community pull requests.
Check out the details by downloading the recently updated Developer Guide.