facebook / facebook-android-sdk

Used to integrate Android apps with Facebook Platform.
https://developers.facebook.com/docs/android
Other
6.15k stars 3.66k forks source link

facebook-sdk:13.2.0 doesn't work fine on Oculus Quest 2, hangs indefinitely when logging in. #1080

Open LFShark opened 2 years ago

LFShark commented 2 years ago

Checklist before submitting a bug report

Java version

I dont know what java version the oculus runs, but it's API 29. Oculus OS version is 40.0.0.106.259.370694197 Runtime version is 40.0.0.120.333.370694039

Android version

API 29

Android SDK version

13.2.0

Installation platform & version

Gradle

Package

Login

Goals

I want to be able to login to facebook account, obtain the email and the access token of the account, while using a Meta Quest 2 device. I want to do this from an app/game I'm developing.

Expected results

Get redirected to browser to login, click login, and browser closing/redirecting me to my previous activity (game)

Actual results

I get redirected to Meta Quest Browser on the "Login with Facebook" page, I click login (or continue as ...), the Meta Quest Browser loads indefinatelly and I never get a login callback. When I do close the browser, i get a "Login Cancel" callback.

If I just minimize the browser and go back to the game, there is no callback.

Steps to reproduce

  1. Initiate facebook login using facebook-sdk:13.2.0 on Meta Quest 2 device
  2. Either click as "Continue as ..." or fill in your details and click login
  3. the bug problem happens.

Code samples & details

// INSERT YOUR CODE HERE

I could upload a whole sample UE4 project somewhere or send it to you, but there's no way i could fit all of that in this little box.
Android-LiuHuan commented 2 years ago

I encountered the same problem on some mobile phone, and the result of using FBLoginSample project was the same

ghost commented 1 year ago

@LFShark Device level policy. FACEBOOK

ghost commented 1 year ago

1132