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

Make sure FUIAuthDelegate methods get called for Firebase 11 #1203

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

paulb777
Copy link
Member

Fix #1198

The function func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?) maps to Objective C selectors differently between Firebase 10 and Firebase 11.

With Firebase 10, it becomes

@selector(authUI:didSignInWithAuthDataResult:error:)

With Firebase 11, it becomes

@selector(authUI:didSignInWith:error:)

Also, with Firebase 11, an @objc is required on Swift implementations.

@paulb777 paulb777 requested a review from ncooke3 August 19, 2024 14:26
@paulb777 paulb777 merged commit 34a2a69 into main Aug 19, 2024
26 checks passed
@paulb777 paulb777 deleted the pb-fui-auth-delegate branch August 19, 2024 23:35
paulb777 added a commit that referenced this pull request Aug 22, 2024
Update sample based on learnings discussed in #1203
paulb777 added a commit that referenced this pull request Aug 22, 2024
Update sample based on learnings discussed in #1203
paulb777 added a commit that referenced this pull request Oct 15, 2024
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.

FUIAuthDelegate methods not called in v.14
2 participants