CoraLibre / CoraLibre-android-sdk

CoraLibre-android-sdk fork of prestandard DP-3T to make compatible with the Google/Apple protocol
Mozilla Public License 2.0
127 stars 7 forks source link

[Suggestion] Bluetooth Low Energy SDK #5

Closed echeoquehaii closed 4 years ago

echeoquehaii commented 4 years ago

Hi,

I don't know if this might be of any use, I just wanted to point out in case it could be useful. The french StopCOVID app is Play Services independent, it doesn't use the Exposure Notification API, so maybe you could find some useful code in there:

Bluetooth Low Energy SDK for Android

theScrabi commented 4 years ago

Is that app compatible with the Apple/Google protocol? That would be the important part.

echeoquehaii commented 4 years ago

Unfortunatly it seems not, see GitLab issue :(

echeoquehaii commented 4 years ago

An update on that issue seem to state that the french implementation is indeed compatible with the Apple/Google protocol:

Today, 18 countries in Europe use Exposure Notification API for their apps, following European vote from April 17. It will probably use specifications provided by Apple / Google on April: these specifications were used to implement open-source Raspberry Pi version of Exposure Notification API.

Apple is blocking implementations of Exposure Notification API on common apps since iOS 13.4 / iOS 13.5 due to security reasons. Common apps can access to GPS, not Exposure Notification apps. So, if an app integrate an "home made" Exposure Notification API, it can scan bluetooth and use geolocation to identify users.

But StopCovid is said to be compatible with Exposure Notification. Perhaps a breach on iOS or a bypass provided by Apple. Will probably be revealed soon.