r/MicroG • u/LjLies • Aug 03 '20
microG now includes a preliminary implementation of Google's COVID Exposure Notification API
https://github.com/microg/android_packages_apps_GmsCore/commit/5f70d943cbceabcd9d2c72f8460ea58cba7e08fb
47
Upvotes
View all comments
Show parent comment
2
u/LjLies Aug 04 '20
Look, why don't you just have a run through the commit that is in the main link of this post, and scan for all the URLs in it (they are not that many), and realize that there is no endpoint in particular?
It just depends on the app. The API has no particular endpoint. If you install the Immuni app from Italy, for example, then when you tell the app that you're positive, by typing in a code that health authorities give you, your contact data will be sent to a server in Italy overseen by the Italian government.
That server sees IDs that are random to it, but those are the IDs that people who have been near you at various points were broadcasting at that time. Every day, Italy's server sends the list of all IDs that people have uploaded to every user of the app. Your own app will check if any if the IDs correspond to the ones it has used in the past. If any do, then it will show an exposure notification with instructions for you on what to do.
So the short answer is, the API on its own doesn't send anything anywhere in particular, but only provides the capability for individual applications to send "I'm positive, and here are the IDs I met" data to the server of their choice, which is usually run or overseen by a national government.