Skip to content

Releases: forcedotcom/SalesforceMobileSDK-Android

Salesforce Mobile SDK 9.2.0

06 Oct 00:15
Compare
Choose a tag to compare

What's New in Salesforce Mobile SDK 9.2

Mobile SDK 9.2 is an interim release that features non-breaking API changes and modernized Android support. 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.

Feature Updates

Android 12 Compatibility

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

Move to Maven Central (Native and React Native Apps)

Mobile SDK libraries for Android are now available on Maven Central. See Using Maven to Update Mobile SDK Libraries in Android Apps.

Passcode Removal

We’ve removed app-specific passcodes from Android apps in favor of mobile operating system security. Mobile SDK still honors an org’s passcode requirement but ignores passcode length, passcode timeout, and biometric settings from a connected app. For customers who’ve already configured a device lock screen or biometric unlock, this upgrade is seamless. For others, the new app lock screen prompts the customer to configure an authentication mode. When the customer reactivates the app from the background, the device passcode, rather than an app-specific passcode, is required. See Using Passcodes.

External Component Version Updates

  • Gradle: 7.0.2
  • JDK: 11
  • Cordova-android: 10.1.0
  • React Native: 0.66.0
  • SQLite: 3.34.1
  • SQLCipher: 4.4.3

How to Upgrade Your Apps

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

Deprecations

Check your compiler warnings, or see Android Current Deprecations.

Salesforce Mobile SDK 9.1.1

15 Jul 22:40
Compare
Choose a tag to compare

What's New in Salesforce Mobile SDK 9.1.1

Mobile SDK 9.1.1 is a patch release that features SmartStore performance enhancements, bug fixes, and a Maven update.

How to Upgrade Your Apps

To upgrade your Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

Maven Update

With the demise of Bintray services on JCenter, Mobile SDK libraries for Android are now available at Maven Central.

Deprecations
Check your compiler warnings, or see Android Current Deprecations in the Mobile SDK Development Guide.

Salesforce Mobile SDK 9.1

20 May 23:06
Compare
Choose a tag to compare

What's New in Salesforce Mobile SDK 9.1

Mobile SDK 9.1.0 is an interim release that features non-breaking API changes for REST APIs, SmartStore, Key-Value stores, and Mobile Sync.

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.

How to Upgrade Your Apps

To upgrade your Mobile SDK apps, follow the instructions at Migrating from the Previous Release.

General Updates

REST API Wrapper Update

  • We’ve added a batchSize parameter to the RestRequest.getRequestForQuery method. Use this parameter to specify a preferred number of records to be returned in each fetch. Permissible values range from 200 to 2,000 (default setting). To allow for run-time
    performance adjustments, Mobile SDK doesn’t guarantee that your requested size will be the actual batch size.

SmartStore Update

  • Smart SQL no longer requires index paths for fields referenced in SELECT or WHERE clauses.

Key-Value Stores, Version 2

  • Key-value store version 2 debuts in 9.1. With version 2, you can use key-value store APIs to retrieve all keys from the store.
  • The Inspect Key-Value Store option of the Dev Support menu now lets you search for all keys that match a given partial or whole key name.

SOQL Sync Down Target Enhancement
You can now configure the size for SOQL sync down batches. You can specify any value from 200 to 2,000
(default value).

Deprecations
Check your compiler warnings, or see Android Current Deprecations in the Mobile SDK Development Guide.

v9.0.0

11 Feb 01:08
Compare
Choose a tag to compare

What's New

Mobile Sync

  • Parent-Child sync-up now supports an external ID field to help prevent the creation of duplicated records. See Syncing Up by External ID.

React Native

  • React Native for Mobile SDK now supports TypeScript for development, in addition to plain JavaScript. Mobile SDK components have been updated to use types. See React Native Development.
  • Dependencies are auto-linked in applications generated by forcereact.

Miscellaneous

  • The Dev Support menu offers a new utility: Inspect Key-Value Store. Use this tool to see what's in your app's key-value store during debugging. See In-App Developer Support.

Version Updates

  • Target API: Android 11 (API 30)
  • Cordova 9.0.0
  • Cordova Command Line 10.0.0
  • SQLCipher: 4.4.2
  • SQLite 3.33.0
  • React Native: 0.63.4
  • yarn 1.2.2
  • TypeScript compiler 4.1.2

Salesforce Mobile SDK 8.3

30 Sep 21:22
Compare
Choose a tag to compare

What's New

  • Successfully tested Mobile SDK and our sample apps on Android Studio 3.5 and Android 11.

Version Updates

  • React Native: 0.63.2

Salesforce Mobile SDK 8.2

21 Jul 01:29
9166f16
Compare
Choose a tag to compare

What's New

  • Added an encrypted key-value store as a performance-oriented storage option that complements relational SmartStore soups. Key-value stores offer a simple, non-relational, opaque collection of values that you can reference only by key.
  • Added REST API wrappers to support Notification Builder API resources.
  • Added decryption of Notification Builder push notifications. Mobile SDK for Android handles decryption internally.
  • Encryption standard has been upgraded from AES-CBC-128 to AES-GCM-256.

Version Updates

  • SQLCipher: 4.4
  • SQLite: 3.31.0
  • React Native: 0.62.2

Hybrid

  • A solution for running Lightning Web Components in Mobile SDK hybrid remote apps, using Lightning Out in Visualforce.
  • New template app demonstrating Lightning Web Components in a hybrid remote app: HybridLwcTemplate
  • Richer error messages for network calls made through the Salesforce Cordova plugin.

React Native

  • New template app demonstrating deferred login: ReactNativeDeferredTemplate
  • Richer error messages for network calls made through the Salesforce network module.

Mobile Sync Enhancements

  • Improved LayoutSyncManager functionality to support all parameters of the underlying Salesforce API.
  • Richer (and parsable) error captured in __last_error__ field.

Salesforce Mobile SDK 8.1

13 Feb 01:40
Compare
Choose a tag to compare

What’s New

Mobile SDK 8.1 is an interim release that addresses updates for iOS hybrid apps. To maintain version parity, we also release Android with a few bug fixes. There are no Android updates or deprecations to report.

Salesforce Mobile SDK 8.0

12 Dec 19:30
Compare
Choose a tag to compare

What’s New

Version Updates

  • Android Studio: 3.5.3

  • Minimum SDK: Android Marshmallow (API 23)

  • Target SDK: Android 10 (API 29)

  • React Native version: 0.61.3

  • Cordova Android: 8.1.0

SmartStore Enhancements

  • Queries can return either a JSON object (best choice for native) or a String (best choice for hybrid and RN).

  • Swift extensions for iOS 12 and iOS 13 (publishers for Combine
    and SwiftUI)

  • Validation tool for JSON configuration files.

Mobile Sync Enhancements

  • Sync up by external ID: For locally created, updated, or deleted SmartStore records that specify an external ID field and provide its value, Mobile SDK performs an upsert instead of an update. However, if the record also contains a Salesforce ID, Mobile Sync performs an update.

  • Swift extensions for iOS 12 and iOS 13 (publishers for Combine
    and SwiftUI).

  • Validation tool for JSON configuration files.

Deprecations

Check your compiler warnings, or see Android Current Deprecations.

Mobile SDK 7.3.0

16 Sep 23:33
Compare
Choose a tag to compare

What’s New

  • Successfully tested Mobile SDK and our sample apps on Android Studio 3.5 and Android 10.
  • Added a method for obtaining an OpenID token that you can use against sanctioned non-Salesforce endpoints. public static String getOpenIDToken(String loginServer, String clientId, String refreshToken) on the OAuth2 class.

Version Update

  • React Native version: 0.60.5
  • Android Studio: 3.5

Deprecations

Check your compiler warnings, or see Android Current Deprecations.