facebook-android-sdk
facebook-android-sdk copied to clipboard
Android FB SDK login - opens external browser though the FB app is installed
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
1.8
Android version
11
Android SDK version
33
Installation platform & version
Gradle
Package
Login
Goals
Facebook login to our app
Expected results
FacebookCallback to be called with LoginResult
Actual results
My Android app integrates FB SDK login. I am calling
LoginManager.getInstance().logIn
On one device even if the FB app is installed, the login flow from my app does not open FB app but instead it fires an external browser with login. If I enter credentials there, there is an error saying “Logging in to Facebook from an embedded browser is disabled” What may be the reason?
Steps to reproduce
No response
Code samples & details
My Android app integrates FB SDK login. I am calling
`LoginManager.getInstance().logIn`
On one device even if the FB app is installed, the login flow from my app does not open FB app but instead it fires an external browser with login. If I enter credentials there, there is an error saying “Logging in to Facebook from an embedded browser is disabled” What may be the reason?