- Remove all 31 avoid_print debug statements across codebase - Fix 8 critical warnings (unused variables, unreachable defaults, etc) - Update deprecated APIs: launch() → launchUrl(), textScaleFactor → textScaler - Replace deprecated surfaceVariant → surfaceContainerHighest in Material 3 themes - Refactor switch statements to use modern pattern matching - Remove unused code: _showDialog, _initNoLocation, _getAnchorOffset - Fix use_build_context_synchronously by adding mounted checks - Add ignore_for_file annotations to generated JSON serialization files - Fix type annotations in appState.dart and models Warnings reduced from 301 to 246 issues (8 → 0 critical warnings). Build verified: app-production-debug.apk (160MB) compiles successfully. Zero type errors, Dart analysis clean for critical issues. |
||
|---|---|---|
| android | ||
| assets | ||
| images | ||
| ios | ||
| lib | ||
| res/values | ||
| test | ||
| .flutter-plugins-dependencies | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| build.yaml | ||
| fires_flutter.iml | ||
| fires_flutter_android.iml | ||
| pubspec.yaml | ||
| README.md | ||
Tod@s contra el Fuego (All Against Fire) mobile
This is app that notifies about fires detected in an area of your interest. It helps the early detection of fires and facilitates local mobilization, while the professional extinction services arrive.
Install
Via Play
Development
This app is developed with flutter. So if you want to contribute, please install it.
You also needs a:
assets/private-settings.jsonseeassets/private-settings-sample.json.google-services.jsonprovided by firebase console (see also the sample).
Some json related code is generated via
flutter packages pub run build_runner build --delete-conflicting-outputs
also you can run with watch instead of build to build with any code change.
Generate apk with:
flutter build apk -t lib/mainProd.dart --flavor production
also you can run with -t lib/mainDev.dart --flavor development. More info about flavors here.
Testing
Run flutter test for doing unit testing.
Data source acknowledgements
We acknowledge the use of data and imagery from LANCE FIRMS operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.
License
GNU APLv3. See our LICENSE, for a complete text.
Thanks & other acknowlegments
(...)