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
batchSizeparameter to theRestRequest.getRequestForQuerymethod. 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.