Skip to content

Salesforce Mobile SDK 12.0.0

Compare
Choose a tag to compare
@wmathurin wmathurin released this 26 Apr 16:50
· 183 commits to dev since this release
7de5ffc

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. It also adjusts for a Google Firebase change that affects mobile connected apps using push notifications.

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.

Firebase Cloud Messaging (FCM) Upgrade

  • We've 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.

  • 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.

  • To configure or update Android push notifications, see: Update Your Android Mobile Connected App’s Information for Push Notifications and Configure Android Push Notifications.

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.

Gradle and JDK Upgrade

We've upgraded to Gradle 8 and Android Gradle Plugin (AGP) 8. We've also moved to Java JDK 17. For more information see the Gradle 8 release notes.

New SQLCipher for Android

We've moved from to a new SQLCipher for Android Package, which means android-database-sqlcipher is replaced by sqlcipher-android in 12.0. For more information, see the SQLCipher release notes for version 4.5.5 and version 4.5.6.

Version Updates

  • Minimum API: Android Oreo (API 26)
  • Target API: Android 14 (API 34)
  • Default SDK version for hybrid apps: Android 14 (API 34)
  • Gradle: 8.2
  • Java JDK: 17
  • Firebase Cloud Messaging: 23.3.1

External Component Version Updates

  • SQLCipher: 4.5.6
  • SQLite: 3.44.2
  • React Native: 0.73.6
  • sf (previously sfdx): v2

Removed APIs

See Android APIs Removed in Mobile SDK 12.0.

Deprecated APIs

Check your compiler warnings, or see Android Current Deprecations.