Now that we have discussed the component parts of building offline capability, we will look at the overall process to determine how and when each of the various functions should be used.
The process will look at how and when we interact with the master source of data, most notably with the on-start properties to ensure that we are loading the correct data at the point that the app is launched. We will then look at how we can work offline, followed by the handling of data when the app comes back online. To achieve this, we need to consider the following:
- Implementing the on-start process
- Working offline
- Synchronizing data between the online and offline data stores
The first element to consider is how we interact with the data and load the data from the correct place to start building the offline capability.
Implementing the on-start process
The most important part of working offline is that we need to start preparing for it from the point that the app...