Skip to content

Conversation

collinjackson
Copy link
Contributor

@collinjackson collinjackson commented Jul 28, 2019

This makes the behavior consistent between iOS and Android for additionalUserInfo of an anonymous sign-in. Right now the iOS SDK is returning "password" (email sign-in) as the providerID but I think nil would be more appropriate and matches Android.

Also added a test.

Fixes #3450

@collinjackson collinjackson changed the title Adds testing for additionalUserInfo with signInAnonymouslyWithCompletion:. Adds testing for additionalUserInfo with signInAnonymouslyWithCompletion: Jul 28, 2019
@collinjackson collinjackson changed the title Adds testing for additionalUserInfo with signInAnonymouslyWithCompletion: providerID should be nil in additionalUserInfo for signInAnonymouslyWithCompletion: Jul 28, 2019
@morganchen12 morganchen12 requested a review from renkelvin July 29, 2019 18:02
Copy link
Contributor

@morganchen12 morganchen12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please wait for @renkelvin's approval before merging.

Copy link
Contributor

@renkelvin renkelvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@paulb777
Copy link
Member

FYI @morganchen12 @renkelvin Only repo members can merge. I'll do this one. Thanks @collinjackson!

@paulb777 paulb777 merged commit a69b8d2 into firebase:master Jul 29, 2019
@collinjackson collinjackson deleted the additionalUserInfo-providerId branch July 29, 2019 18:55
@firebase firebase locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

additionalUserInfo providerId for signInAnonymously is 'password', expected nil

5 participants