Unsupported SwiftData features
Most SwiftData features work as expected with the BlackBerry Dynamics SDK. The following features are not supported or have limited support.
|
Unsupported feature |
Details |
|---|---|
|
Persistent history tracking |
Core Data and SwiftData persistent history tracking is not supported. APIs and patterns that depend on a persistent change-history stream (including history transactions, history tokens, and change-tracking) do not work. Implement your own mechanism to detect cross-process changes or changes since the last check. This is a limitation of BlackBerry Dynamics SDK Core Data, as the secure store has never supported persistent history tracking. |
|
Core Data and SwiftData on the same store |
A Core Data stack and a SwiftData stack cannot read and write the same secure store. Each stack must use a separate store and cannot see the other stack's objects. |
|
Optimized batch delete |
Batch deleted operations work but are not optimized. The BlackBerry Dynamics SDK deletes objects individually instead of executing a single bulk store operation. As a result, large batch deletes are slower than expected. This is a limitation of BlackBerry Dynamics SDK Core Data, which does not support optimized bulk operations. |