smf_firebase_analytics 0.3.0
smf_firebase_analytics: ^0.3.0 copied to clipboard
The SMF module of Firebase Analytics for the Flutter app that SMF generates. It records the events of the app and the screens that users see.
smf_firebase_analytics #
The SMF module of Google Analytics for Firebase with firebase_analytics. It provides the analytics role of SMF: the app records what its users do through its AnalyticsService, and, when the app has a router, a screen view for each screen the user sees.
An app can have several modules that provide analytics, and the service of the app forwards each call to all of them. Analytics works on the Firebase app, so the module depends on smf_firebase_core, which comes with it and sets up Firebase.
Use with the SMF CLI #
smf create asks which modules provide the analytics of the app, and the answer may be none. To choose this one without the question:
smf create my_app -m firebase_analytics
You don't add this package to an app yourself: smf create of the SMF CLI puts what the module generates into the app.
SMF generates apps for Flutter 3.44 or newer and Dart 3.12 or newer. It is tested on macOS, Linux and Windows.