facebook-android-sdk
facebook-android-sdk copied to clipboard
Login without Facebook app installed doesn't work appcompat v1.5.0
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 11, 12
Android SDK version
Facebook SDK version: 6.11.0.1, Android SDK level 32
Installation platform & version
Gradle
Package
Login
Goals
- Click the login button
- Open a ChromeTab and login with Facebook account
- Click "Continue" button to approve the login
Expected results
After clicking the "Continue" button on the "Log in with Facebook" ChromeTab screen, it's expected to go back to the app and continue the login flow in the app.
Actual results
There is an actively invisible activity. When tap the "Back" button, that activity is close, but the login flow is cancelled.
Steps to reproduce
No response
Code samples & details
It works with
- androidx.appcompat:appcompat:1.4.2
- androidx.activity:activity-ktx:1.5.0
- androidx.fragment:fragment-ktx:1.5.0
- androidx.lifecycle:lifecycle-runtime-ktx:1.5.0
But doesn't work with
- androidx.appcompat:appcompat:1.5.0
- androidx.activity:activity-ktx:1.5.1
- androidx.fragment:fragment-ktx:1.5.1
- "androidx.lifecycle:lifecycle-runtime-ktx:1.5.1
which requires to use with Android SDK level 33. So this issue blocks us to upgrade to Android SDK level 33
#1095 related?
I am facing this issue. Please take care of this.
Does anyone know of any workaround?
I have reverted these libraries (appcompat was already 1.4.2)
- activity to 1.5.0
- fragment to 1.5.0
- lifecycle to 2.5.0
- navigation to 2.5.0
it works.
@niusounds Can you leave a comment how you reverted those libraries?
I put this at the bottom of my app build.gradle.kts file and everything started working again. 💯
configurations.all {
resolutionStrategy {
force("androidx.activity:activity-compose:1.5.0")
force("androidx.activity:activity:1.5.0")
}
}
I put this at the bottom of my app build.gradle.kts file and everything started working again. 💯
configurations.all { resolutionStrategy { force("androidx.activity:activity-compose:1.5.0") force("androidx.activity:activity:1.5.0") } }
This just saved our release 🙇
seems to be fixed. https://github.com/facebook/facebook-android-sdk/commit/d7d4e0d241ea4f9e7035fb12b87b249a10e9af36 https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-14.1.0
same as #1095