mh- / corona-warn-companion-android

Android App Which Shows Details about CWA Exposures (Requires Root or CCTG or RaMBLE Apps)
GNU General Public License v3.0
130 stars 22 forks source link

Set date range instead of fixed number of days #154

Open tagru opened 2 years ago

tagru commented 2 years ago

Since the app becomes increasingly slow, it is possible to set the number of days to be used. This always counts from the last day backwards. If I want to look at a day 11 days ago, it still downloads and processes the other 10 days, which slows down the whole process.

I have the suggestion that it maybe better to allow to set a date range (within the last 14 days) so I can look at a specific day without the overhead of all other later days.

What do you think?

mh- commented 2 years ago

What you can control with the current setting is how recent the report of the infected user must have been. So someone who reported their infection 3 days ago would be included in the "3 days download". You may have had an encounter with this person 10 days ago, it will still be shown. This is meant to enable you to only download the last 3 days of infection reports, and do this every 3 days.

Something else that could be done is to limit the days of encounters that should be handled. This is not yet implemented. It might confuse users. But also would reduce the matching time. I have to think about this, and also appreciate further input on this.