When I register a TEI in Tracker Online (not using the mobile app), it does not appear in the search results on the mobile app when the phone is offline. However, when the phone is online, the same TEI is visible in the mobile app search results.
I have repeatedly performed syncing, and so has my team. At this point, I am concluding that this is not a syncing error.
@rcpoudel, thank you for your prompt response.
Below is my Sync config and yes, I have used more than one device for testing, as a matter of fact all the +100 devices our clients are using are giving the same issue.
As per your configuration, only 1800 TEI records are available for offline download. If you have more than 1800 TEIs, please increase the limit accordingly.
Similarly, there are only 1000 events available for offline access. You may want to increase this size as well.
Additionally, you can control the data by filtering based on the “last updated” values of TEIs and events using the dropdown options.
I would set it to “last month”, however I want to be able to see the TEI’s registred even today, after syncronization, on the offline app to avoid duplications.
does the Android app download any TEI at the initial sync or none at all? I mean, when you entered the Android app the first time, is there any TEI in that program?
Another possible reason could be the orgunit scope. The Android app only downloads TEIs that are located in the CAPTURE scope. Is it possible that the TEI you are looking for is located in the SEARCH scope?
Hi @vgarciabnz,
Yes there were TEIs in the program. And I am not only looking for a specific TEI, we are running a search for all the TEIs registered online, with a browser to be specific, no data is retrieved when users are offline, however if we search the same TEIs with the mobile while the devices are connected to any network, they show.
NB: The issue is not only perculiar to me, it is happening with all users.
Kindly elaborate more on SEARCH and CAPTURE scope?
The SEARCH and CAPTURE scopes are the orgunits assigned to the particular user. For example, if there is this orgunit hierarchy:
Parent
Child 1
Child 2
Let’s suppose is assigned to Child1 as CAPTURE and to Parent as SEARCH. The user will only download TEIs for Child1 (CAPTURE); an offline search will only find results from Child1. But when online, the user will be able to find results from Child2 as well. The reason for only downloading the TEIs in CAPTURE is that the SEARCH scope can be very broad (in some cases the whole country). Maybe this is not the reason for your failure, but it is the first thing that came to my mind.
You can check this user configuration in the Users app in DHIS2.