Co-Epi / mobile-app

Initial ReactNative code for CoEpi app for both iOS and Android - this repo is no longer being used, please see app-ios and app-android repo's for latest native code versions
MIT License
25 stars 9 forks source link

Integrate covid19risk #8

Closed ivnsch closed 4 years ago

ivnsch commented 4 years ago

Integrated the iOS BLE peripheral and central functionality.

We use for now the same payload (a "contact" with a isPotentiallyInfectious flag, which is hardcoded to true, as we will do the business login in RN). This will probably change.

@scottleibrand I leave it to you how to credit the original project. I refactored it. The functionality is largely the same. I didn't touch the parts that are not related with BLE.

I'll migrate the functionality to improve the background handling in a new PR.

You can test using 2 devices. 49418

scottleibrand commented 4 years ago

LGTM. I put a query in regarding copyright. The stated intent for all code in the covid19risk repos is that it's licensed under Apache 2.0, but there are still some copyright notices indicating otherwise that they need to update.