Use the new Apple / google contact tracing API
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/
https://9to5mac.com/2020/04/29/ios-13-5-beta-covid-19-contact-tracing/
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/
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.
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.
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.
Thanks for the information
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.