This document explains the sync logic used in the trace mobile app.
Syncing in the trace mobile app is the process that updates the data between the trance mobile app and the trance backend. Since the app supports offline features we have to update new data from the app to the backend and vice versa.
Sync types
Sync types are defined with which types of data are syncing.
Company details
project details
New farmers
New cards
Buy transactions
Send transactions
Transaction invoices
Updated farmers
Product list
Buyer list
Farmer list
Transaction list
Batch list
Sync stages
Syncing is done with 3 different stages.
Initial sync
Transaction sync
Normal sync