No description
Find a file
vjrj d04064d17a refactor: make compass button dynamic - only show when map is rotated
- Convert CompassMapPluginWidget from StatelessWidget to StatefulWidget
- Add periodic rotation monitoring (every 100ms) to detect map rotation changes
- Button only appears when rotation != 0 (map is rotated away from north)
- Button automatically disappears when map is reset to north (rotation = 0)
- Improves UX by reducing visual clutter when map is already north-aligned
- Add tooltip 'Go to North' for better user guidance
- Gracefully handle errors and only update state when widget is mounted
2026-03-06 09:08:28 +01:00
android Fix critical Firebase messaging and null-safety errors 2026-03-05 02:31:22 +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 refactor: make compass button dynamic - only show when map is rotated 2026-03-06 09:08:28 +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 update plugin deps 2026-03-05 03:04:46 +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 Fix remaining compilation errors: null-safety, removed packages, and nullable handling 2026-03-05 02:50:32 +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

(...)