-
Notifications
You must be signed in to change notification settings - Fork 40
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
[Question] Firebase or specific Android versions trigger app_clear_data on first_open, disrupting our funnel #1147
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hey @fatihforgemaster, thanks for reaching out. While this does look like there's an odd behavior happening, I don't see anyway for us to investigate this, especially since the issue doesn't seem reproducible. I've tried testing this on Android 14 emulators, but so far, no issues come up. In the SDK perspective, we are only sending the events for the manual/automatic actions performed by the app. In this case, this Stack Overflow thread explains
Several factors could contribute to this behavior. It's possible that the issue stems from the app being under testing, running in an emulated environment that can clears data after each session, or encountering faulty devices that may trigger unexpected behavior. However, the available information is limited, making it difficult to pinpoint the exact cause. Based on the current evidence, there's no indication that the SDK is directly responsible. Without a reliable method to identify the root cause, I'm not sure how we can proceed investigating this further. For now, let's keep this open in case anyone else has an idea about the issue. |
Hey @fatihforgemaster. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @fatihforgemaster if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
What is your question?
We observe approximately 50% abandonment at the first_open event.
![image](https://private-user-images.githubusercontent.com/84634362/383938370-0155b06c-d7bc-456c-ae84-b7ad93058314.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjQ0NjksIm5iZiI6MTczOTgyNDE2OSwicGF0aCI6Ii84NDYzNDM2Mi8zODM5MzgzNzAtMDE1NWIwNmMtZDdiYy00NTZjLWFlODQtYjdhZDkzMDU4MzE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDIwMjkyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5ZjU0YjlkNzRjODI3NWQwMzI2NDk1MjczN2M4ZjdkZTY5YzJkOWQ2M2IyNmE0ZjkxNzVhNjkzNTkzNzczYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MQqEUtvZ08johhyoEA4dk9Hd1yl3qzrcFEH7fZM31jI)
Through investigation, we found that certain devices (e.g., Samsung S23 Ultra and S24 Ultra on Android 13 and 14) only log first_open and app_clear_data in the initial session, with no further events recorded.
Example User at Firebase User Explorer:
![image](https://private-user-images.githubusercontent.com/84634362/383939801-db4a99e1-e72c-438b-be0c-ad08736c5922.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjQ0NjksIm5iZiI6MTczOTgyNDE2OSwicGF0aCI6Ii84NDYzNDM2Mi8zODM5Mzk4MDEtZGI0YTk5ZTEtZTcyYy00MzhiLWJlMGMtYWQwODczNmM1OTIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDIwMjkyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2NTNmNzJjZDcwNjU0YzU1Yzg4NDRjMzY1MTJlODc5NGI1NmRiYTkwMzkyNWJhMzlkYWY0NmYwM2I1NDE4Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.12xAjzbuFBSzR65ZvP4_vvPXR0Y2UID1vJl__UXj6CY)
We don’t have specific reproduction steps, but during DebugView, events are being sent correctly, and there is no app_clear_data event.
it might be related with androidManifest file so i will share some of them;
we are using firebase activity:
Some Permissions in use:
Initialization Code: Firebase initializes upon checking dependencies
After initialization we start sending events
Firebase Unity SDK Version
12.3.0
Unity editor version
2021.3.44
Installation Method
.unitypackage
Problematic Firebase Component(s)
Analytics
Other Firebase Component(s) in use
Analytics, Crashlytics, Messaging
Additional SDKs you are using
Facebook, GameAnalytics, Appmetrica, Appsflyer, Google play games, Play Plugins
Targeted Platform(s)
Android
Unity editor platform
Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
The text was updated successfully, but these errors were encountered: