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

More Firebase 11 updates #1193

Merged
merged 4 commits into from
Jul 24, 2024
Merged

More Firebase 11 updates #1193

merged 4 commits into from
Jul 24, 2024

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
@@ -43,7 +43,8 @@ - (void)showDeleteAccountDialog {
alertMessage:FUILocalizedString(kStr_DeleteAccountBody)
alertCloseButton:FUILocalizedString(kStr_Cancel)
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
35 checks passed
@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