covid-be-app / cwa-app-android

Native Android app using the Apple/Google exposure notification API.
https://coronalert.be
Apache License 2.0
53 stars 10 forks source link

Clarify whether failed dummy requests are retransmitted #132

Closed gunesacar closed 3 years ago

gunesacar commented 3 years ago

Hello,

This is a question about the behavior of the Coronalert apps. Please let me know if there is a better place to ask it.

I'm helping Prof. Bart Preneel to calculate the active number of Coronalert users.

The method I'm looking into is similar to the Swiss method, which is based on the number of dummy requests on the backend.

I am wondering if the following statement mentioned in the Swiss document is also valid for Coronalert apps:

It should be noted that if the device is not active or is not connected to the internet, the dummy request is transmitted later on.

That is, do Coronalert apps (Android + iOS) resend dummy requests that are failed due to connectivity (or other) issues?

Thank you so much!

leroynicolasalexi commented 3 years ago

Hi,

It is valid for android. App does not attempt to send dummy requests if there is no connectivity but will do as soon as connectivity returns in a 2h window.

gunesacar commented 3 years ago

Thank so much, @leroynicolasalexi

Just to clarify, does that mean previously failed dummies can be dropped if the connectivity does not return in 2 hours -- e.g. when the phone is in airplane mode through the night?

leroynicolasalexi commented 3 years ago

Yes, requests doesn't accumulate. If requests can't be sent within 2h they will simply be ignored until the next 2h window start sending new ones.

gunesacar commented 3 years ago

Thank you.