What’s New in Mobile SDK 11.1
Mobile SDK 11.1.0 is a minor release that features modernized support for iOS and Android.
In interim releases, we often deprecate items in native libraries for removal in an upcoming major release. Be sure to check your compiler logs for deprecation warnings so that you can address any changes before they go into effect.
How to Upgrade Your Apps
For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.
General Updates in Mobile SDK 11.1
These changes apply to more than one platform.
- External Component Version Updates
- Cordova for Android: 12.0.1
- Cordova for iOS: 7.0.1
- React Native: 0.70.14
What’s New in Mobile SDK 11.1 for iOS
- iOS 17 Compatibility
- We’ve successfully tested Mobile SDK for compatibility with iOS 17 and XCode 15. See iOS 17 Release Notes.
- Swift Package Manager Support
- We’ve introduced support for Swift Package Manager,
which can now be used to bring Mobile SDK into applications.
- Binary Frameworks for Mobile SDK are hosted on a new repository: https://github.com/forcedotcom/SalesforceMobileSDK-iOS-SPM.
- We’ve added a iOSNativeSwiftPackageManager template, which pulls its dependencies through Swift Package Manager.
- See also: Add Mobile SDK Libraries to Your Project, Creating an iOS Swift Project Manually, Creating an iOS Project with Forceios.
- Deprecated APIs
- Check your compiler warnings, or see iOS Current Deprecations.
What’s New in Mobile SDK 11.1 for Android
- Android 14 Compatibility
-
We’ve successfully tested Mobile SDK for compatibility with Android 14. See Android Version 14.
- Mobile Sync Library Modernization
-
We’ve modernized the Mobile Sync Library on Android.
- All source files are now written in Kotlin.
- Parameters and members now use non-nullable types wherever nulls aren’t expected or supported.
- Kotlin syntax is now supported where appropriate. For example: string templates, ?:, let, also, map, forEach, when, etc.
- Co-routine wrappers are now available for key methods in SyncManager. See Incremental Syncs with reSync, Handling “Ghost” Records After Sync Down Operations, Using Sync Names.
- Android Template Updates
-
- Our Mobile SDK Android templates are now up to date with the Kotlin DSL migration.
- Our templates are now set up to download Mobile SDK artifacts from Maven Central, which results in a friendlier build environment.
- Advanced Authentication Enhancements
-
We’ve fixed these bugs related to advanced auth.
- If Chrome wasn’t found during the advanced auth flow, Android users were presented with an error and couldn’t continue with login. Advanced authentication now reinstates the expected behavior of using the default browser if Chrome isn’t available at runtime.
- A bug caused some Android users’ login flow to reset to the initial screen when the app was backgrounded during MFA. We’ve fixed this issue and changed LoginActivity’s launch mode from singleInstance to singleTop. Apps that extend LoginActivity now require the same change.
We’ve added new advanced auth methods that allow you to 1) configure which browser your app selects and 2) view the currently selected custom tab browser. See Configuring Advanced Authentication in Android Apps.
- Deprecated APIs
- Check your compiler warnings, or see Android Current Deprecations.