I am trying to connect and log events log using firebase analytics but there is no progress, I already have intergrated firebase google signin methods but not able to do so with firebase analytics.
Here are all the chnages i have done till now
added
implementation 'com.google.firebase:firebase-analytics'
in app level build.gradle in dependencies
also have firebase and firebase_analytics package install, i am still unable to log events
2
Answers
in android/app/build.gradle add
in android/build.gradle add
in pubspec.yaml add
here sample demo
in lib/main.dart add in this line inside MaterialApp
Don’t forget to initialize Firebase
in android/app/build.gradle add
in android/build.gradle add
in main.dart