Skip to content

Salesforce Mobile SDK 11.1.0

Compare
Choose a tag to compare
@wmathurin wmathurin released this 06 Nov 23:43
· 172 commits to dev since this release

What's New in Salesforce Mobile SDK 11.1.0

Mobile SDK 11.1.0 is a minor release that features modernized support for Android.

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.

Android 14 Compatibility

We’ve successfully tested Mobile SDK for compatibility with Android 14. See Android Version 14.

Mobile Sync Library Modernization

We’ve modernized the Mobile Sync Library on Android.

Note: Although we typically do not require consuming code changes in minor releases such as Mobile SDK 11.1, our modernized MobileSync library may require consuming code changes in order to maintain support for both Java and Kotlin. For example, constants that were once imported from a class in Java are now imported from a companion object in consuming Kotlin code.

Android Template Updates

  • Our Mobile SDK Android templates are now up to date with the Kotlin DSL migration.
  • Our templates are now set up to download Mobile SDK artifacts from Maven Central, which results in a friendlier build environment.

Advanced Authentication Enhancements

We’ve fixed these bugs related to advanced auth.

  • If Chrome was not found during the advanced auth flow, Android users were presented with an error and could not continue with login. Advanced authentication now reinstates the expected behavior of using the default browser if Chrome isn’t available at runtime.
  • A bug caused some Android users’ login flow to reset to the initial screen when the app was backgrounded during MFA. We fixed this issue and changed LoginActivity’s launch mode from singleInstance to singleTop. Apps that extend LoginActivity now require the same change.

We’ve added new advanced auth methods that allow you to 1) configure which browser your app selects and 2) view the currently selected custom tab browser. See Configuring Advanced Authentication in Android Apps.

External Component Version Updates

  • React Native: 0.70.14
  • Cordova Android: 12.0.1

How to Upgrade Your Apps

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