Thanks for considering contributing to Hamagen - Israel's Ministry of Health's COVID-19 exposure prevention app!
If you find a bug, please feel free to open an issue.
If you are taking the time to mention a problem, even a seemingly minor one, it is greatly appreciated, and a totally valid contribution to this project. Thank you!
Thinking of adding a new feature? Cool! Open an issue and let’s design it together.
We love pull requests. Here’s a quick guide:
- Fork this repository and then clone it locally:
git clone https://github.com/<yourUserName>/hamagen-react-native/
- Create a topic branch for your changes:
git checkout -b fix-for-that-thing
- Commit a failing test for the bug:
git commit -am "Adds a failing test to demonstrate that thing"
- Commit a fix that makes the test pass:
git commit -am "Adds a fix for that thing!"
- Run the tests:
npm test
- If everything looks good, push to your fork:
git push origin fix-for-that-thing
- Submit a pull request.
Make sure your app is debuggable
.
$ adb exec-out run-as com.hamagen.dev cat databases/Reactoffline.db > app_db.sqlite
Please make sure that you've created a keystore.properties file in your project's root dir with following variables set:
HAMAGEN_KEYSTORE_PATH = '../path/to/release.keystore'
HAMAGEN_STORE_PASSWORD= 'release store password'
HAMAGEN_KEY_ALIAS= 'release key alias'
HAMAGEN_KEY_PASSWORD= 'release key password'
HAMAGEN_DEBUG_KEYSTORE_PATH = '../path/to/debug.keystore'
HAMAGEN_DEBUG_STORE_PASSWORD= 'debug store password'
HAMAGEN_DEBUG_KEY_ALIAS= 'debug key alias'
HAMAGEN_DEBUG_KEY_PASSWORD= 'debug key password'