facebook-android-sdk
facebook-android-sdk copied to clipboard
Auto app event logging feature make UI performance down
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing Github issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
17.0.6
Android version
33
Android SDK version
16.0.0
Installation platform & version
Maven, Gradle, Manual
Package
Core & AppEvents
Goals
I want to use Facebook sdk's app event auto logging feature but keep app UI smooth when the app resumes multiple times.
Expected results
Prevent UI performance from lagging when activity resume multiple times while using Auto app event logging feature.
Actual results
Activities become lag (UI performance down) when the app resumes 2 or more times when I enable auto logging feature in Manifest file:
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled"
android:value="true"/>
Steps to reproduce
There are a lot of ways to reproduce this issue by resuming app or activities multiple times, but I found this issue as I was opening a chooser intent multiple times, which makes my activity to be paused multiple times.
Code samples & details
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled"
android:value="true"/>