marcelmendesfilho / TracePrivately

A sample app using Apple's soon-to-be-released contact tracing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TracePrivately

A sample app using Apple's contact tracing framework, as documented here:

https://www.apple.com/covid19/contacttracing

Note: The Apple framework is not actually yet released. This app is being developed using a mock version of the framework based on the published documentation. This will generate false exposures for the purposes of testing and development.

This app will be evolving quickly as I'm trying to publish new functionality as quickly as possible.

Objectives

  • Create a fully-functioning prototype that governments can use as an almost-turnkey solution that they can rebrand as necessary and use
  • Implement correct security and privacy principles to maximise uptake of said government apps
  • Remain open source for independent verification
  • Properly use the Apple / Google contact tracing specification
  • Work in a localized manner so it can be used in any language or jurisdiction
  • Create a functioning server prototype that can be used as a basis for more robust solutions that fit into governments' existing architecture.

Instructions

  1. Set up a key server using the sample code in KeyServer
  2. In the iOS project, configure KeyServer.plist to point to your server
  3. Build and run in Xcode
  4. The sample key server requires manual approval of infection submissions, using the ./tools/pending.php and ./tools/approve.php scripts.
  5. In this proof of concept, every client will detect an exposure for any infection submitted

Screenshots

Main Window

Submit Window

Exposed Details Window

Other

  • Please submit suggestions and pull requests so this can function as best as possible.
  • Refer to the KeyServer directory for information about the server-side aspect of contact tracing.
  • Android? If you would like to build a clone of this iOS app in Android we can include or link to it from this repo.

License

Refer to the LICENSE file.

About

A sample app using Apple's soon-to-be-released contact tracing framework

License:MIT License


Languages

Language:Swift 94.5%Language:PHP 4.6%Language:PLpgSQL 1.0%