What's New in Salesforce Mobile SDK 12.2.0
Mobile SDK 12.2 is a minor release that features QR code login, visionOS support, refresh behavior enhancements, and modernized support for iOS.
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.
iOS 18 Compatibility
We’ve successfully tested Mobile SDK for compatibility with iOS 18 and XCode 16.
Single Access UI Bridge API
When displaying a Salesforce UI in a webview or external browser without requiring users to re-enter their credentials, we now use the Single Access UI Bridge API (UI Bridge API for short) to construct the frontdoor URL, which was previously constructed manually. See also:
QR Code Login
With the help of Apex classes, Visualforce Pages, UI Bridge API, and new Mobile SDK methods, we can now log users in with a QR code. To learn more about QR code login and how to set it up, see:
Refresh Behavior Enhancements
We enhanced our token refresh behavior for 403 (Bad_OAuth_Token
) responses. Where apps previously managed a 403 response by performing a preliminary REST call to update the access token, we now refresh the token automatically.
The new refresh behavior impacts the /service/oauth2
endpoint and helps with our new REST wrapper for UI Bridge API.
visionOS Support
We added support for visionOS. See Add visionOS as a supported destination for your app in Apple’s documentation.
External Component Version Updates
- React Native: 0.74.5
How to Upgrade Your Apps
For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.