Skip to content

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Jul 23, 2024

Build from SPM with both Firebase 10 and Firebase 11

Migrate to GoogleSignIn 7. I disabled and left a TODO for the unit tests that need to be updated in FirebaseGoogleAuthUITests/FirebaseGoogleAuthUITests.m

There are several ugly string changes because SPM does not include the libraries global string constants. (CocoaPods does).

Once the minimum dependency is Firebase 11, they can be updated to the Swift symbol.

@paulb777 paulb777 requested a review from morganchen12 July 24, 2024 03:30
providerHandler:^(id<FIRUserInfo> provider) {
if (![provider.providerID isEqualToString:FIREmailAuthProviderID]) {
// TODO: Use public API after Firebase 11 minimum.
if (![provider.providerID isEqualToString:@"email"]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

optional: Since this is across multiple files can you define a temporary module-level constant and put the TODO over that constant? Applies to the other strings as well.

Optional since these can all be found with code search.

Copy link
Member Author

Choose a reason for hiding this comment

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

Going to skip this since it would require a separate header for each product or more rearchitecture of both build systems.

@paulb777 paulb777 merged commit 1262e17 into main Jul 24, 2024
@paulb777 paulb777 deleted the pb-f11 branch July 24, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants