No description
Find a file
vjrj eb0d19621c Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes
- Updated Android build files: gradle plugin 8.2.2, gradle 8.3, SDK 34, minSdk 21
- Ran dart fix --apply for 87 automatic null-safety fixes
- Migrated flutter_map v6 API breaking changes:
  - MapOptions: center → initialCenter, zoom → initialZoom
  - layers → children structure
  - TileLayerOptions/MarkerLayerOptions/PolylineLayerOptions → TileLayer/MarkerLayer/PolylineLayer
  - Removed plugin_api.dart imports
  - Converted old plugin system (ZoomMapPlugin, AttributionPlugin, etc.) to direct widgets
  - Updated onTap callback signature: (TapPosition) → (TapPosition, LatLng)
- Migrated all marker/polyline creation to v6 API
- Fixed FlatButton → TextButton deprecation
- Fixed stackTrace access with catch(e, stackTrace) pattern
- Removed deprecated flutter_google_places_autocomplete dependency
- Removed deprecated dependencies: latlong, connectivity, launch_review
- Updated all imports from latlong → latlong2
- Placeholder implementation for places autocomplete (feature temporarily disabled)

Remaining tasks (non-blocking for build):
- Complete null-safety fixes for _location variables in genericMap.dart
- Fix theme.dart MaterialTheme parameter issues
- Fix customStepper.dart null-safety issues
- Final build and testing
2026-03-05 02:10:14 +01:00
android Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
assets Added -dev stettings 2018-09-16 08:06:37 +02:00
images More play artwork 2018-08-06 10:35:10 +02:00
ios Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
lib Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
res/values Fire press dialog 2018-09-16 08:10:56 +02:00
test Markdown. Privacy Policies. Injection dep updated 2018-07-12 09:57:31 +02:00
.flutter-plugins-dependencies Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
.gitignore Dev settings 2018-09-15 09:43:40 +02:00
.metadata Initial commit 2018-06-08 11:30:33 +02:00
build.yaml Last changes not published 2026-03-05 01:18:27 +01:00
fires_flutter.iml Initial commit 2018-06-08 11:30:33 +02:00
fires_flutter_android.iml Initial commit 2018-06-08 11:30:33 +02:00
pubspec.yaml Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
README.md Added Monitorized Areas 2018-08-06 10:34:32 +02:00

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.json see assets/private-settings-sample.json.
  • google-services.json provided 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

(...)