facebook-android-sdk
facebook-android-sdk copied to clipboard
facebook-sdk:13.2.0 doesn't work fine on Oculus Quest 2, hangs indefinitely when logging in.
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
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
- Initiate facebook login using facebook-sdk:13.2.0 on Meta Quest 2 device
- Either click as "Continue as ..." or fill in your details and click login
- 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.
I encountered the same problem on some mobile phone, and the result of using FBLoginSample project was the same
@LFShark Device level policy. FACEBOOK
#1132