Skip to content

Releases: forcedotcom/SalesforceMobileSDK-iOS

Salesforce Mobile SDK 13.1.0

30 Sep 02:01

Choose a tag to compare

What's New in Mobile SDK 13.1

Mobile SDK 13.1 is a minor release that features client-side support for WebSockets, URLRequest support, updates to QR code login, and enhancements for internal apps around actionable notifications and login with the Salesforce welcome domain.

Mobile SDK 13.1 is a minor release that features client-side support for WebSockets, , and login with the Salesforce welcome domain for internal apps.
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.

WebSockets Support

We added support for WebSockets, a bidirectional TCP connection that works with our authentication features and products like Agentforce Speech Foundation.

URLRequest Support

Our REST client now supports direct network calls with URLRequest, which reduces the need for SFRestRequest conversions. Existing SFRestRequest interfaces are still fully supported.

QR Code Login Updates

We fixed a QR code login bug that occurred when web server flow was disabled or a native browser was configured. We also implemented a check to ensure the consumer key in the QR code matches the one configured in the app.

Internal Login with Welcome Domain

Internal apps can now log in with welcome.salesforce.com. The welcome login domain is not yet available to external apps.

Version Updates

  • React Native 0.79.3
  • SQLCipher 4.10.0

Removed APIs

See iOS APIs Removed in Mobile SDK 13.1.

Deprecated APIs

Check your compiler warnings, or see iOS Current Deprecations.

Salesforce Mobile SDK 13.0.2

02 Sep 23:01

Choose a tag to compare

What's New in Mobile SDK 13.0.2

Mobile SDK 13.0.2 fixes a bug found in version 13.0, which inadvertently logged some users out after they upgraded their app from version 11.0 or older.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 13.0.1

22 May 19:46

Choose a tag to compare

What's New in Mobile SDK 13.0.1

Mobile SDK 13.0.1 is a minor patch release that features these changes.

  • To resolve a naming conflict in NewLoginHostView, we renamed label to hostName.
  • We fixed a bug that caused the Add Connection host URL to display incorrectly when it includes a scheme.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 13.0.0

17 Mar 22:20

Choose a tag to compare

What's New in Mobile SDK 13.0.0

Mobile SDK 13.0 is a major release that features user experience improvements, asynchronous REST API requests, 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.

Add Connection Screen Redesign

We redesigned the Add Connection screen for better accessibility.

Note: The updated screen comes with new localizable strings. If your app supports localization, see our updated list of Localizable.strings and localize the latest additions.

Asynchronous REST API Requests

We updated the way REST API requests are handled in the RestClient class.

  • To streamline error handling, we replaced the callback-based patterns used in previous versions with Swift’s asynchronous concurrency model.
  • We refactored our network requests to use async and await methods instead of completion handlers.
  • We’re deprecating completion-based methods in favor of async and await methods. See iOS Current Deprecations.

Hybrid Remote Application Session Management

In hybrid remote applications, we now use session IDs, sourced from the login and refresh token endpoints, to load the app’s start page. This replaces the behavior in previous versions, which relied on a frontdoor URL to establish a UI session.

Note: This feature requires hybrid authentication, which is enabled by default. To verify the hybrid authentication setting, ensure that the useHybridAuthentication property in SalesforceSDKManager is set to true.

REST Wrappers for SFAP APIs

We introduced REST wrappers for SFAP APIs in the SfapClient 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

  • Deployment target: 17
  • Base SDK version: 18
  • Xcode: 16

External Component Version Updates

  • React Native: 0.74.7

Removed APIs

See iOS APIs Removed in Mobile SDK 13.0.

Deprecated APIs

Check your compiler warnings, or see iOS Current Deprecations.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 12.2.0

28 Oct 21:52

Choose a tag to compare

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.

Salesforce Mobile SDK 12.1.1

29 Aug 18:22

Choose a tag to compare

What's New in Salesforce Mobile SDK 12.1.1

Mobile SDK 12.1.1 is a minor patch release that features these changes.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 12.1.0

15 Aug 21:41

Choose a tag to compare

What's New in Salesforce Mobile SDK 12.1.0

Mobile SDK 12.1 is a minor release that introduces user-registration and password-reset flows to the native login suite for Experience Cloud.

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.

Native User Registration and Password Reset

We added user-registration and password-reset support for Experience Cloud sites, which means you can now fully customize the UI for these flows.

External Component Version Updates

  • SQLCipher: 4.6.0
  • Cordova: 7.1.1
  • React Native: 0.74.3

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 12.0.1

06 May 23:29

Choose a tag to compare

What's New in Salesforce Mobile SDK 12.0.1

Mobile SDK 12.0.1 is a minor patch release that features these changes.

  • A Privacy Manifest update that's now compatible with a recent change in Apple's Static Analyzer.
  • An upgrade to SQLCipher 4.5.7, which comes with Privacy Manifests. See the SQLCipher release notes at SQLCipher 4.5.7.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Salesforce Mobile SDK 12.0.0

25 Apr 23:21

Choose a tag to compare

What's New in Salesforce Mobile SDK 12.0.0

Mobile SDK 12.0 is a major release that provides support for native login for Experience Cloud, including passwordless login.

In major releases, we typically remove items that have been deprecated for removal. Read the following information to learn about new features and breaking changes that can affect your app. 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.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Privacy Manifests

We've included privacy manifests in all of our libraries and upgraded our dependencies to a version that includes privacy manifests. For more information, see Apple's doc on privacy manifest files.

Encrypted Push Notifications Change

Starting in summer 2024, we’re using a new cipher mode for encrypting push notifications on the server.

  • The server will only understand the new cipher mode after summer 2025.
  • Mobile apps using Mobile SDK 12.0 can handle both the legacy and new cipher mode.
  • To keep using encrypted push notifications, upgrade your mobile apps to Mobile SDK 12.0 (or a later version) before summer 2025.

Login Updates

  • We’ve added configurable URL handling for login, which allows apps to control how links on the login screen are handled. For example, a phone number on the login screen can now be configured to launch the device’s phone application.

  • We’ve fixed a bug that caused the biometric authentication opt-in status to be reset on login.

Version Updates

  • Deployment target: 16
  • Base SDK version: 17
  • Xcode: 15

External Component Version Updates

  • SQLCipher: 4.5.6
  • SQLite: 3.44.2
  • FMDB: 2.7.10
  • React Native: 0.73.6
  • Cordova iOS: 7.1.0
  • sf (previously sfdx): v2

Removed APIs

See iOS APIs Removed in Mobile SDK 12.0.

Deprecated APIs

Check your compiler warnings, or see iOS Current Deprecations.

Salesforce Mobile SDK 11.1.0

06 Nov 23:39

Choose a tag to compare

What's New in Salesforce Mobile SDK 11.1.0

Mobile SDK 11.1.0 is a minor release that features 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 17 Compatibility

We’ve successfully tested Mobile SDK for compatibility with iOS 17 and XCode 15.

Swift Package Manager Support

We’ve introduced Swift Package Manager (SPM) support, which can now be used to bring the Mobile SDK into applications.
Binary frameworks for Mobile SDK are hosted on a new repo: https://github.com/forcedotcom/SalesforceMobileSDK-iOS-SPM.
We added a new iOSNativeSwiftPackageManager template, which pulls its dependencies through Swift Package Manager.
See also: Creating an iOS Swift Project Manually, Add Mobile SDK Libraries to Your Project, Creating an iOS Project with Forceios.

External Component Version Updates

  • React Native: 0.70.14
  • Cordova iOS: 7.0.1

Deprecated APIs

Check your compiler warnings, or see iOS Current Deprecations.

How to Upgrade Your Apps

For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.