Skip to content

notklaatu/nzcovidtracer-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NZ COVID Tracer

This is the repository for the NZ COVID Tracer app.

NZ COVID Tracer is a Ministry of Health app that allows you to create a digital diary of places you visit by scanning the official QR codes. This gives contact tracers a headstart with identifying anyone who may have been exposed to COVID-19 so we can quickly break the chain of transmission.

You can download the app for:

Contributing

We are not currently accepting issue reports or pull requests on GitHub.

Development setup

Dependencies

  1. yarn
  2. XCode / Android Studio
  3. cocoapods
  4. prettier extension (latest version) installed on code editor (preferably VSCode)

Env variables

This project uses react-native-config
To create a env file, run cp .env.example .env

Generating an encryption key for Realm Db (Optional)

Generate 64 random bytes, copy the bytes in hexadeicmal format Go to Binary to Base64, choose Hexadecimal format and convert it to text Go to .env file, configure DbEncryptionKey with the key

Run the app

yarn
cd ios
bundle exec pod install
cd ../
yarn ios

E2E tests

End to end tests are implemented with cavy

Start the app for e.g. yarn ios, and make sure both the app and the bundler are running
Start the test server yarn e2e:dev
Tests should now be running at every reload
See tests under ./specs

About

This is the repository for the front-end of the NZ COVID Tracer app.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.3%
  • Kotlin 5.6%
  • JavaScript 5.4%
  • Swift 1.4%
  • Java 0.9%
  • Objective-C 0.9%
  • Other 1.5%