Salesforce Mobile SDK 13.0.0
What's New in Mobile SDK 13.0.0
Mobile SDK 13.0 is a major release that features a login redesign, REST wrappers for SFAP APIs, JWT-based access tokens support, LogReceiver support, and SmartStore support for several SQLCipher editions.
In major releases, we typically remove items that have been deprecated. To learn about new features and breaking changes that can affect your app, read the rest of this article. In every release, be sure to check your compiler logs for deprecation warnings so that you can address these changes before they go into effect.
Login Redesign
We redesigned the login experience on Android. The redesign features a modernized architecture that uses Jetpack Compose and Model-View-ViewModel (MVVM), and these general changes.
- On the login screen, the top and bottom native elements now match the login
WebViewbackground by default. - You can now customize the login screen in
LoginViewModelwithout subclassingLoginActivity. - You can now use the login server picker without leaving the login screen.
- For apps that exclusively use advanced authentication, we added a single-server Custom Tab login option that bypasses the standard
WebView. - The user account switcher is now a bottom sheet that displays over the host app.
See also:
Note: The login redesign introduces new localizable strings. If your app supports localization, see our updated list of localized strings in sf__strings.xml and localize the latest additions.
REST Wrappers for SFAP APIs
We introduced REST wrappers for SFAP APIs in the SfapApiClient class. SFAP requires JWT-based access tokens, which we now support. See REST Wrappers for SFAP APIs.
Receive Logs with LogReceiver
You can now receive logs with LogReceiver. See Receiving Logs with LogReceiver.
SmartStore Support for SQLCipher Editions
Smartstore now supports SQLCipher Commercial, Enterprise, and Enterprise FIPS. See Using SQLCipher with SmartStore.
Version Updates
- Android SDK (min API): 28
- Android SDK (target API): 35
- Default SDK version for hybrid apps: 35
External Component Version Updates
- React Native: 0.74.7
Removed APIs
See Android APIs Removed in Mobile SDK 13.0.
Deprecated APIs
Check your compiler warnings, or see Android Current Deprecations.
How to Upgrade Your Apps
For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.