fa8c388f07
Fix Firebase initialization error - no-app exception
...
- Add Firebase.initializeApp() call in mainCommon.dart before any Firebase-dependent code
- Make mainCommon() async to support await Firebase.initializeApp()
- Update mainDev.dart to properly await mainCommon() call
- Add android:enableOnBackInvokedCallback='true' to AndroidManifest.xml to fix OnBackInvokedCallback warning
This resolves the 'No Firebase App [DEFAULT] has been created' error that was occurring when firebase_messaging tried to access FirebaseMessaging.instance in homePage.dart. Firebase must be initialized before any Firebase APIs are used.
2026-03-05 19:08:33 +01:00
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
21ec08303a
Last changes not published
2026-03-05 01:18:27 +01:00
Vicente J. Ruiz Jurado
46bfa7c047
Log level renamed
2018-08-07 09:09:49 +02:00
Vicente J. Ruiz Jurado
2f52801b12
Less logs
2018-08-03 20:25:32 +02:00
Vicente J. Ruiz Jurado
596ab42867
Logging with debugPrint
2018-08-03 08:42:56 +02:00
Vicente J. Ruiz Jurado
9dd8a7de97
More work with fire notifications
2018-07-31 12:51:10 +02:00
vjrj
87718b7ad5
Location edition
2018-07-05 12:50:08 +02:00
vjrj
e55edce3d4
More work with redux, and location edit (wip)
2018-07-03 13:07:02 +02:00
vjrj
de340c0664
Remove statefull. Disting view correct equal operators
2018-06-29 08:10:38 +02:00
vjrj
eedd39f6fc
More redux work
2018-06-29 00:36:43 +02:00
vjrj
7dddf03e32
More redux work in fires page
2018-06-28 10:42:59 +02:00
vjrj
2dfa745c6a
More redux work. User creation/retrieve
2018-06-27 19:46:02 +02:00
vjrj
2c67b68512
More redux and api work
2018-06-27 16:26:06 +02:00
vjrj
aa4909f69f
Dev & Prod env
2018-06-25 19:49:54 +02:00