-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Android facebook-login library 11.2.0 crashes Android 12 - Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE #997
Comments
Hi @juliusspencer, thanks for raising this issue! The fix is merged into the current main branch as 1b8c151. It will be released soon in Facebook Android SDK v11.3.0. |
Can you please let me know when this release will be out? I'm still getting this issue. |
Me too, it's still erro |
It's still an error on Android 12 |
Is it fixed now ? |
Hi all! This problem should already be fixed in the latest Facebook Android SDK. If you still have the issue, could you share the crash tracelog and the SDK version you're using for us to determine the problem? |
implementation 'com.facebook.android:facebook-android-sdk:12.3.0' This one solved the issue. |
@linmx0130 Here is the tracelog:
We are using 12.2 SDK version |
implementation 'com.facebook.android:facebook-android-sdk:12.3.0' Please try this |
Thanks for your reply! Just making sure, because the update process on our project takes quite a while. |
Hi @heeveG! Please double confirm that you're using the latest SDK. As your tracelog shows, the SDK creates the pending intent at line 121, which means that it doesn't adopt the patch. |
Is there any another way to implement the facebook login natively in both android(Xamarin) and ios(Xamarin)? |
Checklist before submitting a bug report
Java version
11.0.10+9
Android version
API 31, Android 12
Android SDK version
11.2.0
Installation platform & version
Gradle
Package
Login
Goals
Handling a callback in
onActivityResult
from a successful login.Expected results
Receive the response in a
FacebookCallback
.Actual results
Crash:
Steps to reproduce
In your build.gradle target 31:
Perform a log in action:
Code samples & details
The text was updated successfully, but these errors were encountered: