-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approach for Firebase Analytic in this setup? #5
Comments
One possible way of doing this to create a And it can be passed as a constructor argument to all view models that need it. View models are a good place to put analytics calls, as they are easy to test. Makes sense? |
Yes make sense, I now had it this way, but in problems with the Tabbar items....
this is a null
|
You should be able to add your observer: final observer = Provider.of<FirebaseAnalyticsObserver>(context); to your |
What is you advice for implement firebase_analytics in this setup?
The text was updated successfully, but these errors were encountered: