Files
sf-app-platform/dependencies.yaml
JulianAlcala 81284d7efe feat(firebase): integrate Firebase + APNs/FCM push notifications
Phase 2 of multi-environment setup. Adds Firebase core, Crashlytics,
Analytics, Remote Config, Performance, Messaging and flutter_local_notifications,
plus full APNs configuration for iOS push.

- Wire setupFirebase(env) and setupNotifications() in initApp
- Add firebase_options for dev and staging via flutterfire (sf-platform-pre)
- Register google-services / firebase-perf / crashlytics gradle plugins
- Add per-flavor GoogleService-Info.plist with Build Phase script that
  copies the right plist into the .app bundle based on \$CONFIGURATION
- Bump iOS deployment target 13.0 -> 15.0 (required by firebase_analytics)
- Pin flutter_local_notifications to ^19.4.2 (v20+ needs Dart SDK >=3.10)
- Add aps-environment to staging (development) and production entitlements;
  development flavor intentionally excluded (no App Store Connect entry)
- Fix AppDelegate.swift to call super.application after forwarding to
  AntelopAppDelegate, otherwise Firebase Messaging swizzling breaks and
  the APNs token is never captured
- Crashlytics reports in all builds (debug + release) for early detection
- Tag analytics events with env user property per flavor
- App Check intentionally not included (debug-token friction with large
  QA team); can be re-added release-only later
2026-04-07 03:33:25 +02:00

94 lines
2.6 KiB
YAML

# ============================================================================
# Single source of truth for ALL external dependencies in the monorepo.
#
# To upgrade a package: edit the version here and run `melos run sync-deps`.
# To verify all packages are in sync: run `melos run check-deps`.
#
# Internal path dependencies (other workspace packages) are NOT listed here.
# They use `path:` references in each package's pubspec.yaml.
# ============================================================================
dependencies:
# ---------------- Firebase ----------------
firebase_core: ^4.6.0
firebase_crashlytics: ^5.1.0
firebase_analytics: ^12.2.0
firebase_remote_config: ^6.3.0
firebase_messaging: ^16.1.3
firebase_performance: ^0.11.2
# ---------------- Notifications ----------------
# Pinned to ^19 because v20+ requires Dart SDK >=3.10 (we are on 3.9.2).
flutter_local_notifications: ^19.4.2
# ---------------- Network ----------------
dio: ^5.9.2
dio_cookie_manager: ^3.3.0
cookie_jar: ^4.0.8
# ---------------- State management ----------------
flutter_riverpod: ^3.0.3
get_it: ^9.0.5
# ---------------- Navigation ----------------
go_router: ^17.0.0
go_router_builder: ^4.1.1
# ---------------- Code generation (annotations) ----------------
freezed_annotation: ^3.1.0
json_annotation: ^4.9.0
json_serializable: ^6.11.2
# ---------------- UI ----------------
cupertino_icons: ^1.0.8
flutter_svg: ^2.2.2
fl_chart: ^1.1.1
lottie: ^3.3.1
qr_flutter: ^4.1.0
confetti: ^0.7.0
top_snackbar_flutter: ^3.3.0
flutter_native_splash: ^2.4.7
# ---------------- Maps & location ----------------
flutter_map: ^8.2.2
latlong2: ^0.9.1
# ---------------- Storage ----------------
shared_preferences: ^2.5.5
path_provider: ^2.1.5
# ---------------- Device features ----------------
flutter_contacts: ^1.1.9+2
image_picker: ^1.2.1
mobile_scanner: ^7.1.4
permission_handler: ^12.0.1
share_plus: ^10.1.4
url_launcher: ^6.3.2
webview_flutter: ^4.10.0
# ---------------- Localization ----------------
intl: ^0.20.2
l10n_countries: ^1.3.1
sealed_countries: ^2.8.0
country_code_picker: ^3.4.1
# ---------------- Utilities ----------------
uuid: ^4.5.3
plugin_platform_interface: ^2.0.2
dev_dependencies:
# ---------------- Linting ----------------
flutter_lints: ^5.0.0
# ---------------- Code generation (builders) ----------------
build_runner: ^2.7.1
freezed: ^3.2.3
riverpod_generator: ^3.0.3
riverpod_lint: ^3.0.3
# ---------------- App tooling ----------------
flutter_launcher_icons: ^0.14.4
# ---------------- Testing ----------------
golden_toolkit: ^0.15.0