ANR in LoginFragment
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.0
Android version
API 33, API 34, API 35
Android SDK version
17.0.0
Installation platform & version
Gradle
Package
Login
Goals
Login with Facebook
Expected results
Eliminated ANR reported when users attempt to Login with Facebook.
Actual results
Application Not Responding
Stacktrace
"main" tid=1 Timed Waiting
at jdk.internal.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:1757)
at com.facebook.internal.security.OidcSecurityUtil.getRawKeyFromEndPoint (OidcSecurityUtil.kt:50)
at com.facebook.AuthenticationToken.isValidSignature (AuthenticationToken.kt:157)
at com.facebook.AuthenticationToken.
Steps to reproduce
This happens on a percentage of our users login flow.
Affected devices
- Infinix Infinix-X6532
- OPPO OP575DL1
- OPPO OP5B16L1
- Infinix Infinix-X6531
- realme RE5C9F
- vivo V2310
- vivo V2333
- realme RE58BC
- TECNO TECNO-KL5
- realme RE6054
- Itel itel-A667LP
- Itel itel-A669L
- OPPO OP571F
- OPPO OP5759L1
- Redmi gale
- realme RE6095
- realme RE8DDCL1
- Infinix Infinix-X6525D
- Infinix Infinix-X6711
- Itel itel-A667L
- OPPO OP571DL1
- OPPO OP574FL1
- OnePlus OP5955L1
- TECNO TECNO-KL4
- TECNO TECNO-LH7n
- VGO_TEL Flex_2
- google tokay
Code samples & details
This is still an issue for us today. We're going to upgrade to the latest (18.1.3) in an attempt to fix. But if there are any additional thoughts, they would be appreciated. @maxalbrightmeta
@tehsven do you have result from updating to 18.1.3? Does it help?
@helios66 Updating to 18.1.3 did not help, the ANRs remain.