Offline Objects is a new feature introduced as part of the V8 release that provides a simplified approach to synchronize data to a client app for offline access. The Offline Objects feature connects directly with Object Services and does not require a sync run-time server. You can use the Offline Objects feature with apps that have been created by using Kony Visualizer along with apps developed in native iOS and Android by using Kony Fabric SDKs.
Offline Objects in V8 supports the following offline capabilities:
You can synchronously download the data for an Object Service.
Based on the client app requirement, you can download only specific data at any time instead of downloading all the objects in an Object Service.
You can add OData Query Strings as an option in Sync API to apply a filter on the objects. Sync API only downloads data that matches the filter criteria.
Note: Make sure that you define the filter criteria to avoid downloading unnecessary data. This reduces the time that the app takes to download the data.
Sync progress is notified through callbacks to the application along with the current state of the specific data, such as current sync state and number of records downloaded. You can register with the application to receive the progress of the events in Sync API.
You can download different unrelated objects in parallel and considerably reduce the synchronization time.
To know more about Offline Objects, refer
Copyright © 2020 Kony, Inc. All rights reserved. |