You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application which allows the user to to sign in anonymously during on-boarding. The user can sign in at a later time using Google/Facebook/Apple Sign In. When starting and cancelling the auto upgrade process using Apple Sign In, the user account is deleted and the user is forced to sign in again, effectively losing their data. I have not found a workaround other than disabling/hiding the Apple Sign In button during the auto upgrade process, which may be against Apple guidelines. I have not attempted to release the application with the button hidden/disabled. I have verified that Apple Sign In works otherwise.
Environment:
Objective C or Swift: Swift
iOS version: 13.1.2
FirebaseUI version: 8.4
CocoaPods Version: 1.8.4
Steps to reproduce:
Sign in via Anonymous Auth.
Show FirebaseUI auth controller with Apple Sign In option, shouldAutoUpgradeAnonymousUsers=true.
Click 'Apple Sign In' option.
On the first Apple Sign In prompt, click cancel.
Cancel auth controller to return to the app.
Close and restart the app.
Observed Results:
User is deleted. User must sign in again. Their previous data is effectively lost.
Never receive callback that login was cancelled.
Expected Results:
User should not be signed out if the sign in process was cancelled. I've verified that cancelling Google or Facebook sign in flow has no such effect.
Should receive callback that login was cancelled.
Relevant Code:
Looks to me thatFUIOAuth.signOut is called when the sign in flow is initiated, which in turn calls FIRUser.deleteWithCompletion.
The text was updated successfully, but these errors were encountered:
Description
I have an application which allows the user to to sign in anonymously during on-boarding. The user can sign in at a later time using Google/Facebook/Apple Sign In. When starting and cancelling the auto upgrade process using Apple Sign In, the user account is deleted and the user is forced to sign in again, effectively losing their data. I have not found a workaround other than disabling/hiding the Apple Sign In button during the auto upgrade process, which may be against Apple guidelines. I have not attempted to release the application with the button hidden/disabled. I have verified that Apple Sign In works otherwise.
Environment:
Objective C or Swift: Swift
iOS version: 13.1.2
FirebaseUI version: 8.4
CocoaPods Version: 1.8.4
Steps to reproduce:
shouldAutoUpgradeAnonymousUsers=true
.Observed Results:
User is deleted. User must sign in again. Their previous data is effectively lost.
Never receive callback that login was cancelled.
Expected Results:
User should not be signed out if the sign in process was cancelled. I've verified that cancelling Google or Facebook sign in flow has no such effect.
Should receive callback that login was cancelled.
Relevant Code:
Looks to me that
FUIOAuth.signOut
is called when the sign in flow is initiated, which in turn callsFIRUser.deleteWithCompletion
.The text was updated successfully, but these errors were encountered: