Giter Site home page Giter Site logo

Comments (13)

google-oss-bot avatar google-oss-bot commented on June 18, 2024

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

from firebase-android-sdk.

lehcar09 avatar lehcar09 commented on June 18, 2024

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!

from firebase-android-sdk.

leonardosgcit avatar leonardosgcit commented on June 18, 2024

I was unable to reproduce it in a new project but it stopped duplicating the "login_app_success" when I renamed it to "login".
And it started duplicating again when I changed back to "login_app_success".

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>
04-01 15:04:17.190 V/FA-SVC (12335): batch {
04-01 15:04:17.190 V/FA-SVC (12335): bundle {

Comparing those events, I got two differences:
2024-04-12_11-40-43

from firebase-android-sdk.

lehcar09 avatar lehcar09 commented on June 18, 2024

Can you share an MCVE with me? Here's how I log the similar event, but seeing just one instance in the debug view.

firebaseAnalytics.logEvent("login_app_success") {
          param("custom_uuid", "test")
      }
Screenshot 2024-04-13 at 1 03 54 AM

from firebase-android-sdk.

leonardosgcit avatar leonardosgcit commented on June 18, 2024

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.
I downloaded the new google-service.json file and the duplication stopped for that new package name.
If I build in the old package name, it still happens.
Does it make sense?

from firebase-android-sdk.

lehcar09 avatar lehcar09 commented on June 18, 2024

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.

from firebase-android-sdk.

leonardosgcit avatar leonardosgcit commented on June 18, 2024

This method is called everywhere in the app:

override fun sendEvent(eventName: String, params: Bundle?) {
    firebaseAnalytics.logEvent(eventName, params)
}

We only noticed the duplication of the "login_app_success" event so far.

I'll make the other requested tests later.

from firebase-android-sdk.

leonardosgcit avatar leonardosgcit commented on June 18, 2024

I tried moving the logging event call to other function and the duplication also happens.
Now, I am waiting a response from the data team to verify the event in the console.

from firebase-android-sdk.

umbrellait-Zafar-Abdulloev avatar umbrellait-Zafar-Abdulloev commented on June 18, 2024

Having a similar issue. Found a discussion in stackoverflow, please check it out.
Multiple events sending in for-loop showing multiple event's property value instead of single property value

from firebase-android-sdk.

chopfitzroy avatar chopfitzroy commented on June 18, 2024

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.

from firebase-android-sdk.

lehcar09 avatar lehcar09 commented on June 18, 2024

Hi @leonardosgcit, just wanted to check if you heard anything from your team about the possiblity that you have event created from console?

from firebase-android-sdk.

leonardosgcit avatar leonardosgcit commented on June 18, 2024

Hi @lehcar09 , sorry for the delay. We are working on other priority tasks.
I didn't get a response but we decided to live with that issue for now since it only occurs in the debug view.

from firebase-android-sdk.

lehcar09 avatar lehcar09 commented on June 18, 2024

Hi @leonardosgcit. I understand. Based in my investigation, the _syn parameter is added to events created from Firebase console. That being said. I'll be closing this thread for now. Let me know if we need to re-open the issue for investigation. Thanks!

from firebase-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.