Skip to Content
0
Dec 22, 2016 at 05:17 AM

How to auto sync offline store of the mobile application

120 Views Last edit Jul 10, 2017 at 11:25 AM 2 rev

HI All,

We have developed an Hybrid offline Mobile application everything is working fine we are able to flush the stores and we are also able to refresh the offline store.

We have a new requirement in which customer is asking to have a auto sync feature which basically flushes the store when network connectivity is there . It is possible to check the network connectivity of the application and call the flush method to flush the store but , the problem is they don't the user operation to be blocked by it . They want this to happen asynchronously in back , we can also have this but the problem is as the user will continue to write on the same store which is flushing so is it possible to flush the store and write on it ?