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 and modernized iOS 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.
How to Upgrade Your Apps
To upgrade your Mobile SDK apps, follow the instructions at Migrating from the Previous Release.
General Updates
Catalyst Support
- Mobile SDK 9.1 brings Catalyst support to its iOS native libraries. You can now build your iPad apps to run on Intel and Silicon Macs.
iPad Support in Sample Apps
- The MobileSyncExplorerSwift template app now supports Catalyst and multiple windows for iPad.
- The RestAPIExplorer sample app now supports Catalyst.
REST API Wrapper Update
- We’ve added a
batchSize
parameter torequestForQuery
methods ofSFRestApi
(Objective-C) andRestClient
(Swift). 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 Query Enhancement
- 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 iOS Current Deprecations in the Mobile SDK Development Guide.