I want to use Firebase analytics to log events from my Flutter app into my Firebase project's DebugView.
I am using the example app from this GitHub.
I have entered the Xcode parameters -FIRDebugEnabled and -FIRAnalyticsDebugEnabled as shown in this github issue
I changed IS_ANALYTICS_ENABLED in GoogleService-info.plist to true.
DebugView logging is not enabled.
Log events ARE going to Firebase because I can view them in StreamView.
I cannot get logs from my flutter app to be seen in Firebase / DebugView of my project.
I searched and attempted most of the cases like you did and it didn't work too. But then I reset those changed and try only -FIRAnalyticsDebugEnabled and it does work for me.
I supposed you have set up and connect your project with firebase and follow example in firebase_analytics. Here what I do to enable debugview in Firebase Console.
android: enable with this command
adb shell setprop debug.firebase.analytics.app com.example.app_name
iOS
add -FIRAnalyticsDebugEnabled to Product\Schema\Edit Schema
Hope this would help someone out there that still encounter this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With