Every-time I watch your tutorials like my heart breaks into a thousand pieces. I have code running in production thats not as nearly perfect as yours. Always learning, I probably should dedicate a whole and watch your videos than another day to go refactor my code. Im also using service but damn. I wanna this OCD level on every line of code I write
haha, don't be too hard on your code man. It takes time. Refactor bit by bit and get it to where you want it to be. As long as you can see that you can do better you will probably put in the effort to make it better. Knowing there's something to be improved is a huge step towards improvement.
Dear @FilledStacks, do you know if this also works for Web? I am right now building for Flutter Web but I am unable to see any route change event on the analytics console apart from the initial load event. Have you tried this for Flutter Web? ... Best regards!
Hey there. I don't know if this works for web. I know the firebase libraries are being rebuilt from the ground up to support web as well I don't know if they're gone over the analytics library yet. You should check the new firebase website in the docs to see what it supports.
I haven't figured out how to get the debug view working, but the plugin specifies web, so I went ahead and implemented, and I guess will find out in 24 hours. Has anyone figured out a way to allow for debug mode with analytics? There's an issue report on this for Flutter web that you can't log into Chrome and use the analytics debug extension for Chrome when Flutter generates the debug chrome browser.
I actually haven't seen that. Maybe that's a recent change. We've been swapping between firebase analytics and Amplitude. Amplitude worked quite well, the implementation is the same as Firebase. But I have no workaround as I haven't experienced that.
This is pure gold! Just an information, how do you advise to separate Analytics events for testing app and real users app without messing up the account with fake data?
Awesome! Happy you got the intended information from the video. For any firebase setup you can create flavors on Android or Profiles on iOS which you can use. This will pull in different google info files based on the build. There's a few guides out there on it. Basically you'll have two firebase projects, and have two google-information.json files and two GoogleInfo.plist files in iOS as well. When building release or debug you'll connect to different ones.
Does anyone have a problem in 1:26 line 6 with FirebaseAnalytics(); ? The console says: The class 'FirebaseAnalytics' doesn't have an unnamed constructor. Try using one of the named constructors defined in 'FirebaseAnalytics'. Pls help :(
It doesn't have an unnamed constructor anymore. Do f12 on the class to navvigate to it and see the constuctor, or read the latest docs for the package.
@FilledStack I am not able to see firebase screen parameter in debug view on firebase console. I see this firebase_screen_class: MainActivity I am not using locator. But I am doing this `navigatorObservers: [AnalyticsService().getAnalyticsObserver()]` Is it wrong?
You would do the exact same thing but you probably won't use dependency inversion. You can simply construct the class where you need it and you'll have a hard dependency on it.
@@FilledStacks Hey Dane, I did the pagination with grids but when I go to some other screen and navigate back to the screen it doesn't load grid .. probably something to do with stream controller which loading the firebase loading data ..should I need to create a dispose method, if yes then how coz I tried creating dispose method in base widget like init method one but didint work.
Great video, as always! Keep producing amazing content. Got one question though, I have seen there is/was a Slack channel for this community, is there any chance I could get an invitation (if it's still live)?
It is a bit shaky sometimes. The configuration is not easy to spot when it's broken. Check your logs. there should be analytics events being posted there.
2 года назад
@@FilledStacks i see requests being made to firebase batch something, but nothing happens on firebase hehe
@ then it's probably a distribution thing with where you are. It's not possible to always be real time. I've had this issue before. Run your app in release mode and see if you get events showing up.
It wraps the MaterialPageRoute call incase I want to swap it out for a different transition. github.com/FilledStacks/flutter-tutorials/blob/f88110623663a5337c735eb44144ea1c3a6d9cab/044-analytics-firebase/lib/ui/router.dart#L43
@@FilledStacks I'm finding that my page navigation is not being logged in the debug view with this method. In fact I find that the debugview is very inconsistent with its logging even when I create a function such as "onButtonClicked" for a custom event. Only SOME things are shown in the debug view. Do you have/experience this issue at all? Thanks again
@@FilledStacks The implementation of this link seems to have solved my analytics of page navigation. I think I was missing the naming of the pages, which I didn't know how to do with this method. Thanks for the assistance. I think it would be very beneficial to others if you included this info in the video via a link or end-note. Thanks!
@@michaeltolsma7717 Nice! Happy to hear it's working. It is very important for them to know. Which is why I mention at the start of every video you can download the starting code from the written tutorial or my website :)
Hi thanks for making a suggestion. I have seen quite a lot of them on RUclips and there's not much functionality I would need that for. If there's something that a plugin doesn't exist for then I might do it.
The video would be too short. I thought about it but I just followed the readme and I was done. There's nothing extra to add. It's just 1 line of code in the main file.
@@FilledStacks in my project I did everything , errors shows in the debug console " error reported to crashlytics console " but nothing shows in the console . I changed event type etc but no luck.
Every-time I watch your tutorials like my heart breaks into a thousand pieces. I have code running in production thats not as nearly perfect as yours. Always learning, I probably should dedicate a whole and watch your videos than another day to go refactor my code. Im also using service but damn. I wanna this OCD level on every line of code I write
haha, don't be too hard on your code man. It takes time. Refactor bit by bit and get it to where you want it to be. As long as you can see that you can do better you will probably put in the effort to make it better. Knowing there's something to be improved is a huge step towards improvement.
Thank you! Your tutorials are phenomenal!
Thank you for wathcing! Please subscribe, I'm busy writing a new video right now
Dear @FilledStacks, do you know if this also works for Web? I am right now building for Flutter Web but I am unable to see any route change event on the analytics console apart from the initial load event. Have you tried this for Flutter Web? ... Best regards!
Hey there. I don't know if this works for web. I know the firebase libraries are being rebuilt from the ground up to support web as well I don't know if they're gone over the analytics library yet. You should check the new firebase website in the docs to see what it supports.
I haven't figured out how to get the debug view working, but the plugin specifies web, so I went ahead and implemented, and I guess will find out in 24 hours. Has anyone figured out a way to allow for debug mode with analytics? There's an issue report on this for Flutter web that you can't log into Chrome and use the analytics debug extension for Chrome when Flutter generates the debug chrome browser.
Another amazing tutorial, thank you so much.
You're very welcome. I'm happy that you found some value in it.
DebugView on the web only works with a Google Chrome extension and development mode disables all extensions by default. Any workaround?
I actually haven't seen that. Maybe that's a recent change. We've been swapping between firebase analytics and Amplitude. Amplitude worked quite well, the implementation is the same as Firebase.
But I have no workaround as I haven't experienced that.
Next tutorial please i'm learning so fast with your tutorials
Busy with the written tutorial today for this weeks video. It should be out the weekend 😋☺
@@FilledStacks always excited for no other but your tutorials
This is pure gold!
Just an information, how do you advise to separate Analytics events for testing app and real users app without messing up the account with fake data?
Awesome! Happy you got the intended information from the video. For any firebase setup you can create flavors on Android or Profiles on iOS which you can use. This will pull in different google info files based on the build. There's a few guides out there on it. Basically you'll have two firebase projects, and have two google-information.json files and two GoogleInfo.plist files in iOS as well. When building release or debug you'll connect to different ones.
Does anyone have a problem in 1:26 line 6 with FirebaseAnalytics(); ?
The console says:
The class 'FirebaseAnalytics' doesn't have an unnamed constructor.
Try using one of the named constructors defined in 'FirebaseAnalytics'.
Pls help :(
It doesn't have an unnamed constructor anymore. Do f12 on the class to navvigate to it and see the constuctor, or read the latest docs for the package.
try: final FirebaseAnalytics _analytics = FirebaseAnalytics.instance;
@@evildecisionsarvar5996 Thanks this worked for me
@FilledStack I am not able to see firebase screen parameter in debug view on firebase console.
I see this firebase_screen_class: MainActivity
I am not using locator. But I am doing this `navigatorObservers: [AnalyticsService().getAnalyticsObserver()]`
Is it wrong?
No, that should still be fine. It takes some times sometimes for the data to show up.
can you please explain app Refer and reward program in flutter
I haven't looked at the before. I should see what it's about and I'll see if I can make a video on it
what if im not using the locator and get_it things. can u tell in that case what to do??
You would do the exact same thing but you probably won't use dependency inversion. You can simply construct the class where you need it and you'll have a hard dependency on it.
great tutorial thank you so much.
You're very welcome. Thanks for watching and commenting.
Thank you so much for that !
You're very welcome. It makes me happy to see more people are interested in the analytics implementation.
Please make a tutorial on pagination in flutter with firebase or at least guide how can I achieve this with this architecture.
I'm planning on doing that in this series so it'll be coming out in this series.
@@FilledStacks Hey Dane, I did the pagination with grids but when I go to some other screen and navigate back to the screen it doesn't load grid .. probably something to do with stream controller which loading the firebase loading data ..should I need to create a dispose method, if yes then how coz I tried creating dispose method in base widget like init method one but didint work.
Great video, as always! Keep producing amazing content. Got one question though, I have seen there is/was a Slack channel for this community, is there any chance I could get an invitation (if it's still live)?
Thank you. Yes, the invite is available on filledstacks.com under any post you view.
not sure why this doesn't work for me. i added the android and ios json files, but debug view shows nothing
It is a bit shaky sometimes. The configuration is not easy to spot when it's broken.
Check your logs. there should be analytics events being posted there.
@@FilledStacks i see requests being made to firebase batch something, but nothing happens on firebase hehe
@ then it's probably a distribution thing with where you are. It's not possible to always be real time. I've had this issue before.
Run your app in release mode and see if you get events showing up.
@@FilledStacks how do i do that?
@ You run with the --release flag when running the app.
did something of this video changed through 2 years?
No, we still use it exactly the same :D
@@FilledStacks nice its great news and thank your very useful video content.
Thank you!
You are very welcome.
Very great tutorial. I would like to see from you how you use big query firestore export extension and display data from bigquery to datastudio.
Thank you. At the moment I don't do that, I'd have to make use of it for a few weeks or months first before sharing any solution around it.
The terminal commands not working for me. Is there any solutions?
Yes, You look at the updated documentation of what you're using and start there.
Thank you for share!) Maybe you can create tutorial, how to add mixpanel analytics in app?)
You're welcome. i haven't heard of mix panel. I'll look at it and see if I'd use it in my app.
2:21 what is the implementation of _getPageRoute? Your linked video doesn't cover that. How do you set the page name?
It wraps the MaterialPageRoute call incase I want to swap it out for a different transition. github.com/FilledStacks/flutter-tutorials/blob/f88110623663a5337c735eb44144ea1c3a6d9cab/044-analytics-firebase/lib/ui/router.dart#L43
@@FilledStacks I'm finding that my page navigation is not being logged in the debug view with this method. In fact I find that the debugview is very inconsistent with its logging even when I create a function such as "onButtonClicked" for a custom event. Only SOME things are shown in the debug view. Do you have/experience this issue at all? Thanks again
@@FilledStacks The implementation of this link seems to have solved my analytics of page navigation. I think I was missing the naming of the pages, which I didn't know how to do with this method. Thanks for the assistance. I think it would be very beneficial to others if you included this info in the video via a link or end-note. Thanks!
@@michaeltolsma7717 Nice! Happy to hear it's working. It is very important for them to know. Which is why I mention at the start of every video you can download the starting code from the written tutorial or my website :)
Nice and helpful video
Perfect 👌
Please make a tutorial on implementing plugin using platform channel later. Thank you!
Hi thanks for making a suggestion. I have seen quite a lot of them on RUclips and there's not much functionality I would need that for. If there's something that a plugin doesn't exist for then I might do it.
@@FilledStacks Thank you! I searched webview plugins, but official one still has keyboard issue and other ones lack functinality or has some issues.
Hi, Great! but DebugView don't work for me and I don't find the issue... can you help me please?
Hi Thanks. That's too bad, did you run the command to pass along debug logs to firebase from your app package id?
@@FilledStacks Yes ran the command, now I'm using android emulator because after that was using my phone, but doesn´t work...
@@maurovolpe7943 I see. Then I don't know, let me know when you figure it out.
@FilledStacks can you make a video on flutter with firebase crashlytics please.......
The video would be too short. I thought about it but I just followed the readme and I was done. There's nothing extra to add. It's just 1 line of code in the main file.
@@FilledStacks in my project I did everything , errors shows in the debug console " error reported to crashlytics console " but nothing shows in the console . I changed event type etc but no luck.
#FilledStacksArmy Keep up the good work!
Yup yup!! I'll try my best 💪 Thanks for the support.
I my case manifest package name not working but I tried firebase package name and its working :)
I don't exactly know what was wrong but I'm happy you solved it.
Hey man, good.
Thank you.
Good but pdf, image and video store in cloud firebase and storage firebase 👍
Please video create
Thanks. I have a video for cloud storage. I show how I do uploading in there. It should apply to everything you just asked.
Please upload fast👍
@@maherbanhusentech haha, upload what? That video is already up on the channel.
🤮🤮🤮🤮🤮
Aaaaaawwww shame man. You should get some medicine
Thank you! Your tutorials are phenomenal!
Thanks Nick! 😁 I appreciate the feedback.