ShipFlutter includes a complete monitoring setup using:
- Firebase Google Analytics for user behavior
- Performance Monitoring for app performance
- Firebase Crashlytics for crash reporting
The monitoring module is privacy-focused and requires explicit user consent before collecting any data.
Setup
Enable and setup each service in the Firebase Console:
- Analytics Dashboard
- Performance Dashboard
- Crashlytics Dashboard
User Consent
All monitoring features require explicit user consent. The consent system includes:
Analytics Service
The MonitoringService
handles analytics, performance monitoring, and crash reporting:
Route Tracking
The AnalyticsRouteObserver
automatically tracks screen views and its already added
in the navigator:
Consent Management
The consent flow is managed by the ConsentController
:
-
Check for existing consent:
-
Show consent banner if needed:
-
Update consent settings:
-
Features are enabled based on consent: