Salesforce Mobile SDK 3.1: Unified app architecture brings unparalleled flexibility
The new Salesforce Mobile SDK 3.1 makes it easier for developers to build cross-platform mobile apps across devices.
What makes this especially exciting is that this also extends to your choice of development tools or UI frameworks. For iOS, developers now have the ability to consume the Salesforce Mobile SDK through CocoaPods. In addition, Android Studio and the Gradle build system are now fully supported for native apps. Previously, developers often had to choose amongst their favorite APIs and features when selecting between native and hybrid architecture. With the Salesforce Mobile SDK 3.1 release, mobile developers no longer have to make these trade offs for selecting a preferred technology.
Some of the exciting new features ready to developers today include:
Unified SmartSync API for native and hybrid apps
Canonical Sample Apps that show how to create native and hybrid apps with data synchronization
Improved build tools for iOS and Android
Flows to initiate authentication with an enterprise certificate
Unified SmartSync Framework for fast and responsive apps
Customer data is at the core of most enterprise apps and SmartSync makes it extremely simple to access it. Synchronizing records between the cloud and a mobile app required tedious, low-level API calls. With SmartSync, developers get all of the critical sync capabilities to build fast and responsive apps. The latest SDKs include:
Consistent native and hybrid implementations for iOS and Android
Bulk Sync routines executive from the native layer, even in hybrid apps with a new SmartSyncPlugin for Cordova apps
Full CRUD operations for online and offline usage
A new native sample app, SmartSyncExplorer, demonstrates the power of the SmartSync library on iOS.
Canonical Sample Apps
Code snippets are great for elucidating a specific concept. But code in isolation is often not enough to convey everything required to build an app, ready for production. In the 3.1 release of the Mobile SDK, we have built a highly adaptable canonical sample apps, designed to serve as the basis for brand new applications. These sample apps, implemented in native code on iOS and Android as well as a cross-platform hybrid implementation provide clean implementations, showcasing advanced SmartSync features bound to native and hybrid UIs. The apps have enough in common to show a common pattern, yet under the hood, have implementations that will make native app developers feel right at home. Developers can tweak these apps for their own purposes or browse the code to understand how all the modules work together.
Hybrid App : https://developer.salesforce.com/blogs/engineering/2014/11/cross-platform-apps-salesforce-mobile-sdk-web-components.html
CocoaPods for iOS
Native iOS developers asked for it and got it! Developers now have the ability to consume the Salesforce Mobile SDK through CocoaPods, which makes dependency management a chore of the past. It’s now easier than ever before to insert Salesforce Mobile SDK modules into an existing app or evolve a new app with other third party libraries.
Gradle for Native Android Apps
Android Studio and the Gradle build system are now fully supported for native apps. Gradle support for hybrid apps will arrive after the next Cordova update.
Certificate Based Authentication Pilot
Leverage certificates as part of an enhanced authentication flow without asking your users to enter a username and password.
iOS 7 is now the minimum OS version of iOS supported.
Raised the minimum Android OS version required by Mobile SDK to v4.2.2 (API 17).
Supporting libraries upgraded to the latest versions