mtc_analytics 3.1.0
mtc_analytics: ^3.1.0 copied to clipboard
All in one. This package was created to simplify the job of logging events across different analytics platforms.
3.1.0 #
- Added: Made
Eventa concrete class to allow direct instantiation for quick ad-hoc event logging. - Added: Public constructor for
AnalyticsServiceto enable custom instantiations (useful for dependency injection and mocking). - Added:
AnalyticsService.reset()method annotated with@visibleForTestingto reset the global singleton. - Added: Robust unit test suite under
test/for testingAnalyticsServiceand error isolation. - Fixed: Wrapped tracker methods inside
AnalyticsServicewith try-catch blocks to prevent errors in one tracker from blocking others. - Fixed: Conformed
FirebaseTracker.trackreturn type tovoidand captured async errors locally viacatchError. - Fixed: Conformed parameter types in
ConsoleTracker.trackto match the baseTrackerinterface. - Fixed: Minor typos in comments and documentation.
3.0.0 #
- Breaking: Upgraded
amplitude_flutterto^4.6.2,firebase_analyticsto^12.4.5, andfirebase_coreto^4.12.1. - Breaking: Upgraded Dart SDK constraints in example app to support Dart 3.x.
- Changed: Migrated
AmplitudeTrackerto the new Amplitude SDK v4 API. - Fixed: Replaced deprecated/removed
headline4text style in the example application. - Fixed: Resolved widget test initialization issue in the example test suite.
2.0.0+12 #
- Changed: Updated
Tracker.trackmethod to support Firebase Analytics params
1.2.0+11 #
- Changed: Updated
firease_coreandfirebase_analyticsdependencies
1.1.2+10 #
- Changed: Updated
firease_core,firebase_analyticsandamplitude_flutterdependencies
1.1.1 #
- Added: Made
userIdnullable
1.1.0 #
- Added:
setUserIdtoAnalyticsService
1.0.0 #
- First release