DP-3T / dp3t-app-android-demo

The DP3T-App for Android
Mozilla Public License 2.0
323 stars 79 forks source link

How are parameters passed around? #62

Open pdehaye opened 4 years ago

pdehaye commented 4 years ago

(There is in parallel a discussion on the iOS repo about the same thing, and a lot written here has actually been taken from there)

I have tried understanding how EN configuration parameters are passed to the app.

I found some relevant code server side, which feeds into the bit below.

Inn the latest version of the Android SDK code, this seems relevant:

In the latter, I am not clear on where exposureSummary.getAttenuationDurationsInMinutes is defined. It looks, however, to be related to the length 3 list called attenutationDurations in the Google spec.

I would like to understand if this SDK code is run via the app, and if so how/where?

Could you please tell me more?

This is related to https://github.com/PersonalDataIO/CoronaRiskScoring/issues/3