facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

Android FB SDK login - opens external browser though the FB app is installed

Open dominolog opened this issue 1 year ago • 5 comments

Checklist before submitting a bug report

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?

dominolog avatar Jan 16 '23 11:01 dominolog