The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

What’s New in Mobile SDK 12.0.1

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

  • We updated our privacy manifests so they're now compatible with the latest changes in Static Analyzer.
  • We fine-tuned access modifiers on classes recently migrated from Java to Kotlin to ensure compatibility for the apps that extend them.
  • We upgraded to SQLCipher 4.5.7, which comes with privacy manifests. See the 4.5.7 release notes from SQLCipher.

For information on upgrading Mobile SDK apps, see Migrating from the Previous Release.

Mobile SDK 12.0 is a major release that provides native login support for Experience Cloud, including passwordless login. In 12.0, we’re also changing the cipher mode used for encrypting push notifications on the server.

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.

We added native login support for Experience Cloud sites, including passwordless login. See also:

Starting in Summer 2024, we use 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.
  • SQLCipher: 4.5.6
  • SQLite: 3.44.2
  • sf (previously sfdx): v2
  • React Native: 0.73.6

See also: General Updates in Mobile SDK 12.0

We included privacy manifests in all of our libraries and upgraded our dependencies to a version that includes privacy manifests. See Apple's documentation on privacy manifest files: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files.

  • We 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 be configured to launch the device’s phone application.
  • We fixed a bug that caused the biometric authentication opt-in status to be reset on login.
  • Deployment target: 16
  • Base SDK version: 17
  • Xcode: 15
  • Cordova for iOS: 7.1.0
  • FMDB: 2.7.10

See iOS APIs Removed in Mobile SDK 12.0.

Check your compiler warnings, or see iOS Current Deprecations.

See also: General Updates in Mobile SDK 12.0

We upgraded FCM to version 23.3.1. For apps using Android or Hybrid push notifications, google-services.json replaces androidPushNotificationClientId in Mobile SDK 12.0. See also:

Because of a change in how Google handles push notifications for apps, Android mobile connected apps now collect the Admin SDK private key and project ID from a Google Firebase project. This change applies to mobile connected apps with Android push notifications. See also:

We upgraded to Gradle 8 and Android Gradle Plugin (AGP) 8. We also moved to Java JDK 17. See the release notes for Gradle 8 at https://docs.gradle.org/8.0/release-notes.html.

We moved to a new SQLCipher for Android Package, with sqlcipher-android replacing android-database-sqlcipher in 12.0. See the SQLCipher release notes at SQLCipher 4.5.5 and SQLCipher 4.5.6.

  • Android SDK (min API): 26
  • Android SDK (target API): 34
  • Default SDK version for hybrid apps: 34
  • Gradle: 8.2.0
  • Java JDK: 17
  • Firebase Cloud Messaging: 23.3.1

See Android APIs Removed in Mobile SDK 12.0.

Check your compiler warnings, or see Android Current Deprecations.