hamagen-react-native icon indicating copy to clipboard operation
hamagen-react-native copied to clipboard

Use the new Apple / google contact tracing API

Open sitay1 opened this issue 6 years ago • 8 comments

see Contact tracing API

sitay1 avatar Apr 10 '20 18:04 sitay1

Cool, see the Stack-Overflow blog and podcast chapter about it:

https://stackoverflow.blog/2020/04/15/reading-the-spec-covid-19-contact-tracing-from-apple-and-google/

oyd11 avatar Apr 19 '20 15:04 oyd11

https://9to5mac.com/2020/04/29/ios-13-5-beta-covid-19-contact-tracing/

sitay1 avatar May 12 '20 13:05 sitay1

Thanks for that, this is being checked. Google/Apple also imposes some limitations to use this API.

https://techcrunch.com/2020/05/04/apple-and-google-release-sample-code-and-detailed-policies-for-covid-19-exposure-notification-apps/

kaplanlior avatar May 14 '20 17:05 kaplanlior

Just to clarify for others, the main problematic clause in the link above - to my understanding - is:

They can’t access or even seek permission to access a device’s Location Services, which provides specific geolocation data. Google and Apple note that apps already available from public health authorities that make use of location data will continue to be offered, but that no apps that make use of that info will also have access to the new Exposure Notification API

So there is no possibility to integrate into Hamagen unless it completely gives up it's current approach (the pro's and con's of which could be debated). Note also that Google/Apple are only allowing one app per country. Only other option I think is for a separate, 2nd app from the competent Hamagen dev team.

gadicc avatar Jun 22 '20 06:06 gadicc

From what I understand, in outdoor places there are less chances getting covid-19 than indoor places, So bluetooth solutions like the Google/Apple project are more efficient than location GPS solutions.

yoav2 avatar Jun 25 '20 18:06 yoav2

Let me clear a mix between a few things. We have bluetooth (BLE to be exact) technology and we have Google/Apple contact tracing API, which uses BLE, but also has many restrictions (e.g. no GPS).

As you can see at #213, BLE will be part of Hamagen 2.0, so we plan to enjoy both GPS and BLE. You can also look at https://github.com/MohGovIL/rn-contact-tracing for these efforts.

kaplanlior avatar Jun 25 '20 18:06 kaplanlior

Thanks for the information

yoav2 avatar Jun 26 '20 05:06 yoav2

From what I read, it's not efficient to use other BLE solution. The Google+apply solution is the only one that will keep bluetooth running in the background, and not go to sleep any time your phone is locked.

yoav2 avatar Jun 30 '20 06:06 yoav2