Releases: forcedotcom/SalesforceMobileSDK-Android
Salesforce Mobile SDK 10.1.0
What's New in Mobile SDK 10.1.0
Mobile SDK 10.1.0 is a minor release that includes bug fixes, performance enhancements, feature additions, and updates.
How to Upgrade Your Apps
For information on upgrading Mobile SDK apps, follow the instructions at Migrating from the Previous Release.
Feature Additions and Updates
MobileSyncExplorerKotlin Template
The full power of Mobile Sync, using Kotlin and Jetpack Compose for your use as an app template. See MobileSyncExplorerKotlinTemplate.
REST API Methods for Briefcase Priming Records
REST request factory method and response parser for the Briefcase Priming Salesforce API.
REST API Methods for sObject Collections
REST request factory methods and response parser for the following sObject Collections operations:
Create
Retrieve
Update
Upsert
Delete
Briefcase Sync Down Target
New standard target for downloading and locally synchronizing records from an org's briefcases.
Collection Sync Up Target
A new sync up target that uses sObject Collections for improved performance. It is the new default when creating a sync up target without specifying an implementation class.
External Component Version Updates
Gradle: 7.2.1
SQLCipher: 4.5.1
SQLite: 3.37.2
Salesforce Mobile SDK 10.0.0
What's New in Salesforce Mobile SDK 10.0.0
Mobile SDK 10.0 is a major trust release. It includes breaking API changes, bug fixes, performance enhancements, minor feature additions, and updates. In major releases, we remove items in native libraries that were deprecated in interim releases. For your convenience, we've compiled lists of deprecated and removed native APIs.
What’s New for Native Android
Binary Storage in Key-Value Stores
Key-value stores now support secure binary storage using existing Mobile SDK APIs. See Using Key-Value Stores for Secure Data Storage.
API Version Updates
- Minimum API: Android Nougat (API 24)
- Target API: Android 12 (API 32)
- Default SDK version for hybrid apps: Android 12 (API 32)
Removed APIs
See Android APIs Removed in Mobile SDK 10.0.
Deprecated APIs
Check your compiler warnings, or see Android Current Deprecations.
SmartStore Updates
WAL for Android
Mobile SDK 10.0 implements write-ahead logging (WAL) in SQLCipher for Android. Although SQLCipher's concurrent read-write support remains blocked on Android, lower-level updates bring measurable improvements to SmartStore performance.
Feature Deprecations
Due to improvements in third-party modules, SmartStore is now fully capable of handling large data sets. Therefore, the external storage feature and the SoupSpec
class have been deprecated for removal in Mobile SDK 11.0. See Android Current Deprecations.
External Component Version Updates
- SQLCipher: 4.5.0
- SQLite: 3.36.0
- React Native: 0.67.1
- Cordova for Android: 10.1.1
- Cordova command line: 11.0.0
- node.js: 12.0 to latest LTS version
How to Upgrade Your Apps
For information on upgrading your apps, follow the instructions at Migrate All Apps from 9.2 to 10.0.
Salesforce Mobile SDK 9.2.1
What's New in Salesforce Mobile SDK 9.2.1
Mobile SDK 9.2.1 fixes rare issues that could unintentionally enable the passcode requirement during upgrades.
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.2.0
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
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
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 theRestRequest.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
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
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
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
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.