TCNCoalition / TCN

Specification and reference implementation of the TCN Protocol for decentralized, privacy-preserving contact tracing.
MIT License
263 stars 33 forks source link

Integration with Google/Apple contact tracing API? #64

Open leonoverweel opened 4 years ago

leonoverweel commented 4 years ago

Since the Apple + Google contact tracing API will be the only way to have the level of Bluetooth access required to make contact tracing work reliably (at least on iPhones when the screen is off or app isn't in the foreground), is TCN compatible wit that API?

I did a quick scan through the README.md and didn't find any mention of it; could someone clarify? If you're not planning to integrate, how are you planning to work around this limitation?

Thanks!

seriyvolk83 commented 4 years ago

Bluetooth will work even if the app is in background. There is no issue here.

xuiqzy commented 4 years ago

Could you elaborate on this since the table on the bottom of the readme seems to indicate that there are non optimal workarounds needed for the background case in iOS, especially when both are in the background? Would an integration with these APIs be possible?

rajagottumukkala commented 4 years ago

We have tested with two iOS devices. When the phones are locked, its complete stop. No exchange of tokens. Also, here is a good explanation https://www.youtube.com/watch?v=YHbl9IT67hs

So this is definitely a limitation, as you can imagine, phones will be locked majority of the time in a day.

ziyangji commented 4 years ago

I noticed it addressed in the Readme file

A nearby Android device acts as a bridge. It receives TCNs through “central” write operations (see 3rd row above) and adds them to a rotating list to broadcast alongside its own TCN.

It seems we must have a third android device