This article will discusses the offline functionality within the mobile app.
Offline
The mobile app has an offline feature when you have a bad or no signal within an area of your warehouse.
For example, if you were to add a damage classification and it takes longer than 10 seconds for the request to return a response from the API, the inspection will change to offline mode - ready to be synced to the cloud. This is known a Time Out.
If you lose signal altogether during your inspection. This is known as No Connection.
The mobile app will perform better when you have a full signal or a WIFI signal on your device so it's always best to be connected at all times. |
Time Out
For a Time Out scenario which has occurred whilst you are on the Inspection Details or the Inspection screen, you will see a yellow bar appear at the top of the screen as detailed below.
Tapping on the yellow bar at the top of the screen will bring up the Unsynced Data Modal where you have 2 options, Revert Data or Retry Sync.
Retry Sync
Tapping on this button will enable you to try and sync the data to the cloud if the connection has improved. If the sync was to fail for some reason, it will notify you by presenting a error message saying "An inspection failed to sync". You will then need to close the error message.
Failure to sync the data for the inspection doesn't mean that all the requests were unsuccessful. Tapping on the Show Errors text on the Unsynced Data Modal will detail which requests were unsuccessfully synced. |
If you are on the Inspection Details or the Inspection screen, you will then see a red bar appear at the top of the screen as detailed below.
Tapping on the red bar at the top of the screen will again bring up the Unsynced Data Modal where you have 2 options, Revert Data or Retry Sync.
Revert Data
Tapping on this button will remove the changes that you made when you had a poor signal. and the data will revert back to the state prior to the poor signal.
No Connection
If the device has no connection at all, the app will go into “offline mode” until a connection is gained. You will see a red bar at the bottom of the screen which is detailed below.
Similarly, the app will show a yellow bar at the top of the Inspection Details and Inspection screen if you tried to save something while offline. If you are still offline, indicated by the red offline status bar at the bottom, tapping on the yellow bar at the top wont do anything until you are online again as it won’t be able to sync up changes if you don’t have a signal.
When the app gets a signal again, it will automatically try and sync the data. You don’t need to be on the inspection screen when this happens, but if you are, you will see a loading screen as it syncs up the data as detailed below.
If the data fails to sync, it will show a red bar at the top the same as the “Time Out” scenario. Tapping this bar will allow you to Revert Data, Retry Sync, or view what failed on the Show Errors section of the Unsynced Data Modal.
Limited Features
There is some functionality in the mobile app that won't be possible if there is no connection.
1. You are unable to start an inspection or action. This must be done online.
2. You are unable to edit an action.
3. You are unable to archive inspection or actions.
4. If you complete an inspection while offline and assign an action to yourself, you won't be able to carry out this new action created until you gain a signal again. You will be able to carry out an action offline as long as you viewed the action before losing signal.
5. You are unable to bookmark an action.
6. You are unable to download or share reports.
You are required to visit the inspection screen of an inspection before going into offline mode in order to store the inspection data on the device to be accessed later. This is done automatically when you visit the inspection screen. The same applies to action repairs. |
If you try to access an inspection, a blueprint or an action while offline, or you try to access limited features as detailed above, you will be presented with the below screen.