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

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

Open LFShark opened this issue 2 years ago • 3 comments

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.

LFShark avatar Jun 09 '22 10:06 LFShark

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

Android-LiuHuan avatar Jul 29 '22 02:07 Android-LiuHuan

@LFShark Device level policy. FACEBOOK

ghost avatar Nov 13 '22 19:11 ghost

#1132

ghost avatar Nov 13 '22 19:11 ghost