-
Notifications
You must be signed in to change notification settings - Fork 561
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
Analytics - duplicated events in Debug View / Debug build #5858
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @leonardosgcit, thank you for reaching out. I tried reproducing the issue, but I was unable to encounter the behavior. Can you share an MCVE or code snippet to help us investigate the issue? Thanks! |
I was unable to reproduce it in a new project but it stopped duplicating the "login_app_success" when I renamed it to "login". Taking a look at the logs for the "FA-SVC" tag I found two "events" in the "batch object" right after the log message: 04-01 15:04:17.190 V/FA-SVC (12335): Uploading data. app, uncompressed size, data: <package_name> |
Can you share an MCVE with me? Here's how I log the similar event, but seeing just one instance in the debug view.
|
I can't reproduce it in a MCVE. But I created another app in the same Firebase project using a different package name and a new product flavor. |
Thanks for sharing that. Could you share a code snippet on how you are logging the event? Is there another event that duplicates? Aside from that, could you try to move the logging of events (i.e another function call)? Another possibility I could think of for this to happen is, if you are creating an event based on an existing event. Per checking, if you have created an event from the console, it also shows up in the verbose log. You could check this documentation for reference. |
This method is called everywhere in the app:
We only noticed the duplication of the "login_app_success" event so far. I'll make the other requested tests later. |
I tried moving the logging event call to other function and the duplication also happens. |
Having a similar issue. Found a discussion in stackoverflow, please check it out. |
Seeing this as well when trying to send an event for each item in a cart, so same event sent X number of times with different values. Instead what I get is X number of events with all the values combined. |
Hi @leonardosgcit, just wanted to check if you heard anything from your team about the possiblity that you have event created from console? |
Hi @lehcar09 , sorry for the delay. We are working on other priority tasks. |
Hi @leonardosgcit. I understand. Based in my investigation, the |
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Some events are duplicated when using the Debug View.
It doesn't seem to happen in a release build.
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Adding logs before each "logEvent" call and enabling the FA and FA-SVC logs, I noticed that a single call to "logEvent" caused two "Logging event" messages and the events have the same parameter values:
Relevant Code:
The text was updated successfully, but these errors were encountered: