TokTok / btox

Official TokTok mobile Tox client
https://tox.chat/
GNU General Public License v3.0
12 stars 4 forks source link

feat: Set up a database and contact persistence. #20

Closed robinlinden closed 2 years ago

robinlinden commented 2 years ago

Not sure if we want to check in the generated code or not. It seems to be 50/50 what people do in the Flutter dev community.

I currently have this PR set up with all generated files ignored, with scripts to generate them under tools/. We'll need some form of preparation scripts there even if we check in the generated files as different builds need different things downloaded. E.g. the web build needs the wasm/js files from 3rd-party libraries, and Windows needs sqlite3.dll.

See: https://stackoverflow.com/questions/56110386/should-i-commit-generated-code-in-flutter-dart-to-vcs https://pub.dev/packages/build_runner#source-control

This change is Reviewable

netlify[bot] commented 2 years ago

βœ”οΈ Deploy Preview for olelo ready!

πŸ”¨ Explore the source changes: 754b936ded3e746ec75f150214a9fd3db7dcfe4c

πŸ” Inspect the deploy log: https://app.netlify.com/sites/olelo/deploys/6206b387f8b1a500081c7bb6

😎 Browse the preview: https://deploy-preview-20--olelo.netlify.app/

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

robinlinden commented 2 years ago

You can view the database used on the preview page in the Firefox dev tools here: drift database location