Open jjm901 opened 2 months ago
This issue has been automatically marked as stale due to inactivity for 60 days. If this issue is still relevant, please respond with any updates or this issue will be closed in 7 days. If you believe this is a mistake, please comment to let us know. Thank you for your contributions.
Describe the bug
Getting a bunch on ANR's from Android devices when a link callback is received. Not specific to any device or Android version.
Steps to reproduce
Expected behavior
No ANR to occur.
SDK Version
5.2.3
Make and Model
Multiple
OS
Multiple (8.0, 8.1, 10, 11, 12, 13, 14)
Additional Information/Context
According to Google Play Console, the following Insight is provided:
Provided by: Android vitals
Problem: The main thread was busy doing a Binder call that was potentially slow
Recommendation: The latency of a Binder call is hard to predict. It can be affected not only by the complexity of the call itself, but also by intermittent factors such as system server lock contention. You should treat them as you would treat I/O calls, and avoid, if possible, making Binder calls in the main thread. If making a Binder call from the main thread is unavoidable, make sure to instrument and monitor such calls to detect slowness.
In my Unity C# code, I call shareLink with this code:
I receive the message "Link Call Back - Parameters " in Crashlytics when the ANR occurs, and the stack trace from one of the devices is attached.
stacktrace.log