parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 739 forks source link

Facebook Login not working when Facebook app is not installed #1187

Closed cjosepha closed 1 year ago

cjosepha commented 1 year ago

New Issue Checklist

Issue Description

When the Facebook app is not installed on the device and the app uses AndroidX fragments 1.5+, the Facebook Login flow is broken and the app login Activity is being recreated on top of the existing login Activity instance. Additionally, after closing the additional Activity, the FacebookCallback.onCancel() method is called regardless the webview login and permission was successful. This makes Parse SDK returning a successful task, but with still no ParseUser logged.

Steps to reproduce

Actual Outcome

Expected Outcome

Environment

Parse Android SDK

Server

Database

Logs

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

parseplatformorg commented 1 year ago

🎉 This change has been released in version 4.2.0