opensrp / opensrp-client-eusm

OpenSRP client for EUSM
Other
0 stars 1 forks source link

Resolve Partial Sync of tasks on Android #126

Open samkanga opened 1 year ago

samkanga commented 1 year ago

During the field visit we encountered a scenario on the App where the App indicated that it had downloaded all data successfully. However, when we attempted to select the service point to complete the missions, the inventory could not be selected. It gave an un-clickable Product Check placeholder. The selection of an inventory is facilitated by a task. This was a case of a partial task download. It was resolved by clearing the data and syncing down the data again. Discussions with the engineers identified this to be a bug. Please assist in looking into this.

hamza-vd commented 1 year ago

I was unable to reproduce this issue, even on slow internet connection. However, I have noticed that on initial sync, if I do not allow the location and storage permission, tasks in inventories are not loaded properly. See the below images. The first when is when an inventory is opened without allowing location and storage permission and the second image is when location and storage permission is allowed and the app is synced again. Both images are of the same inventory.

image 1.

image (1) 2.