@Jeffrey Blattma I have a query regarding order details that how lang data exists on clover system(DB)?
After syncing to clover server all order details exists in clover db or removed after some time?
Actually I have to show order info and I am using content provider, I was wondering if data will be deleted after some time like in months...
While you can't make any assumption about the locally stored data on the device, order data persists indefinitely on Clover servers. Devices can be reset or replaced at any time so historical data may be reset. Newly reset devices will sync up to the last 90 days of historical data only.
Please note that making queries against our servers for historical order data spanning large time windows will not be allowed. If you want to speak more about what specifically you are trying to accomplish we can perhaps provide better guidance.
EDIT: Updating to answer comment questions:
Our server endpoints around orders are rather sensitive considering the size and mission critical nature of the database. General rules are that you should not query >2 months in the past and should expand on demand (e.g., when a user drills into the order). Also consider general API usage guidelines here:
W/ regard to the local on-device database, yes you can generally assume there will be at least 90 days of data but that's not guaranteed (e.g., prior to the device having a chance to download that data). Also, we are currently rolling out the change to auto-sync 90 days so you may not see that in your development environment.
@Jeffrey Blattman We are experiencing similar problem, device was long enough online, more then a day, to sync. But it does not syncing, and we can not query local database for orders. Only way for order to show up in our query is to go to Orders app -> Order detail, and then only that one starts to showing up in our query. Is this something that we can relay on to be fixed in next two months, or we need to write workaround and query backend API?