Skip to content

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

License

Notifications You must be signed in to change notification settings

marcelmendesfilho/TracePrivately

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 94.4%
  • PHP 4.6%
  • PLpgSQL 1.0%