Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignInAnonymouslyAsync don't work after user been created. #16

Closed
rami-diwip opened this issue Nov 27, 2016 · 5 comments
Closed

SignInAnonymouslyAsync don't work after user been created. #16

rami-diwip opened this issue Nov 27, 2016 · 5 comments

Comments

@rami-diwip
Copy link

auth.SignInAnonymouslyAsync().ContinueWith(HandleSigninResult);
after the first anonymous sign in new user is created in Firebase console.
when trying to signin again HandleSigninResult is not being called.
only after signout `HandleSigninResult is called but creating new user in console.

@stewartmiles
Copy link
Contributor

Are you seeing this on iOS or Android? Any chance you could share an example of this, preferably by modifying our auth sample?

@stewartmiles
Copy link
Contributor

Are you trying to sign in twice with the same app?

@stewartmiles
Copy link
Contributor

I believed we fixed the issue of user sign-in persistence in our 1.1.0 release. If a user signs in anonymously - and they don't sign out - relaunching the application should result in the user continuing to be signed in. Could you verify?

@stewartmiles
Copy link
Contributor

We finally got a chance to debug this issue and it turns out that on Android we had a problem where if an async operation completes immediately it would never call the task completion handler.

The workaround for the moment - which I'm sure you're already doing - is to check to see whether the user is already signed in and not sign in if they are.

We'll have a fix out in our next release.

@stewartmiles
Copy link
Contributor

This should be resolved in version 1.1.1
https://firebase.google.com/support/release-notes/unity#1.1.1

@firebase firebase locked and limited conversation to collaborators Oct 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants