Flutter crossplatform (android/web) application for internal use in SEBN UA company.
Run flutter pub get to update dependencies.
Required generated files are missing (.gitignore). Run:
flutter pub run build_runner watch --delete-conflicting-outputs --use-polling-watcher
in terminal to generate the required files and watch changes.
flutter gen-l10n --template-arb-file=intl_en.arb
.env file in .\ with fields:BACKEND_URI=http://0.0.0.0:0000/
CONNECTION_CHECK_HOST=0.0.0.0
SQL_CIPHER_PRAGMA_KEY=yourStringKeyToAccessEncryptedLocalDatabase
Warning, changing SQL_CIPHER_PRAGMA_KEY during production usage will make it impossible to access database. Database deletiong logic already implemented, user will be warned. SQL_CIPHER_PRAGMA_KEY additionaly encrypted in runtime
flutter build apk to build apk file.
Output is in sebn_inventory_app\build\app\outputs\apk\release.
Use flutter clean command to clear cache if something wrong.
Configure sebn_inventory_app\android\app\build.gradle to change build config.
Supported platforms: armeabi-v7a, arm64-v8a, x86_64