Comments (13)
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.
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.
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:
from firebase-android-sdk.
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](https://private-user-images.githubusercontent.com/155964350/322063319-89d7aa92-09c8-43e8-a773-36f408d9897b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1Njc3MDAsIm5iZiI6MTcxODU2NzQwMCwicGF0aCI6Ii8xNTU5NjQzNTAvMzIyMDYzMzE5LTg5ZDdhYTkyLTA5YzgtNDNlOC1hNzczLTM2ZjQwOGQ5ODk3Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxNlQxOTUwMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYTJlMDUzYjU5OTYyMjJkYmQxODNhMTdiOTcwNDczYWQ1NDk5NWRjMDNmMmM5YmNmN2ZjOTk2OTFmYTI5NTIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YnsR84YPS6JoUcjUijhld-LzFm9YBCVaSHCQyXQqRvM)
from firebase-android-sdk.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Firestore query snapshot with changes only HOT 3
- firebase-messaging build error on windows HOT 12
- Error: All gms/firebase libraries must use the exact same version specification [GradleCompatible] HOT 14
- FATAL EXCEPTION: main Process: java.lang.RuntimeException: Internal error in Cloud Firestore (25.0.0). HOT 7
- [firebase_auth] This app is not authorized to use Firebase Authentication HOT 2
- hello
- FirebaseMessaging : Disable retry Topic operation upon connection without internet HOT 2
- Android Build Error: Duplicate Class with Protobuf When Adding Firebase In-App Messaging in gradle HOT 5
- duplicate class com.google.protobuf.DescriptorProtos HOT 8
- Randomizing mapping_file_id for each build prevents gradle build cache #2 HOT 4
- SQLiteEventStore.lambda$ensureBeginTransaction$24: android.database.sqlite.SQLiteDatabaseLockedException - database is locked (code 5 SQLITE_BUSY) HOT 9
- SQLiteEventStore.runCriticalSection : java.lang.IllegalStateException - attempt to re-open an already-closed object: SQLiteDatabase HOT 4
- Crashlytics Gradle plugin is not compatible with configuration cache HOT 4
- Weak Hash Algorithm Used HOT 3
- FirebaseCrashLytics java.lang.IllegalStateException: java.lang.RuntimeException: Bad file descriptor HOT 5
- SQLiteEventStore.lambda$ensureBeginTransaction$24: android.database.sqlite.SQLiteDatabaseLockedException - database is locked (code 5 SQLITE_BUSY[5]) HOT 6
- Creating multiple Firebase accounts for the same email, though it is disabled in the settings. HOT 4
- VertexAI JsonDecodingException When requesting a Boolean parameter HOT 2
- Topic Operation fails with "Failed to sync topics. Won't retry sync. TOO_MANY_SUBSCRIBERS" and won't callback HOT 3
- FirebasePerformance crash for separate process java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-android-sdk.