Skip to content

Conversation

@wimbledon
Copy link
Contributor

When custom FIRAuth is used, it needs to be passed to create AuthProvider.
This fix is required for auth providers like Twitter.
Related PR: #974

When custom FIRAuth is used, it needs to be passed to create AuthProvider. 
This fix is required for auth providers like Twitter.
Related PR: firebase#974
@wimbledon
Copy link
Contributor Author

@morganchen12 I'm not sure why the two tests are failing. Do you mind taking a look?

FirebaseOAuthUITests
    ✓ testAppleNoUseEmulatorNoOAuthProvider (0.023 seconds)
    ✗ testAppleUsesEmulatorCreatesOAuthProvider, Sign in with Apple is not supported via generic IDP; You must use the Apple iOS SDK for Sign in with Apple. (NSInternalInconsistencyException)
    ✗ testProviderValidity, *** -[__NSCFConstantString stringByAppendingString:]: nil argument (NSInvalidArgumentException)

@morganchen12
Copy link
Contributor

Since you changed the selector, the stub on this line is no longer stubbing the correct method.

@wimbledon
Copy link
Contributor Author

@morganchen12 Thanks for the comment.
I have fixed the tests and now they are all passing.
Do you mind approving and merging it for release?

@morganchen12 morganchen12 merged commit 29976cd into firebase:master Aug 10, 2021
@morganchen12
Copy link
Contributor

Yep, thanks for the contribution!

@wimbledon wimbledon deleted the patch-2 branch August 11, 2021 07:01
@wimbledon
Copy link
Contributor Author

@morganchen12, do you mind bumping the SDK version from 12.0.0 to 12.0.1?

@morganchen12
Copy link
Contributor

I'll take some time to release it today. Apologies for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants