facebook-android-sdk
facebook-android-sdk copied to clipboard
ANR:Input dispatching timed out (4b6b26a xxx/com.facebook.FacebookActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=true))
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
11
Android version
Android 13
Android SDK version
16.2.0
Installation platform & version
gradle
Package
Login
Goals
Login
Expected results
Login success
Actual results
ANR: Input dispatching timed out (4b6b26a xxx/com.facebook.FacebookActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=true))
jdk.internal.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2211)
com.facebook.internal.security.OidcSecurityUtil.getRawKeyFromEndPoint(OidcSecurityUtil.kt:62)
com.facebook.AuthenticationToken.isValidSignature(AuthenticationToken.kt:169)
com.facebook.AuthenticationToken.
Steps to reproduce
Try to login when the internet speed is very low.
This method may cause the main thread to wait 5000
Code samples & details
// INSERT YOUR CODE HERE
Our APP also has the same problem, the date is about 2024/12/, found a large number of ANR and lag, hope to solve it as soon as possible