Skip to content

FUIAuthDelegate methods not called in v.14 #1198

@joaomvfsantos

Description

@joaomvfsantos

Problem: FUIAuthDelegate methods are not being called anymore in v.14. I have setup two example projects with the same code, one with FirebaseUI v.13 and another with FirebaseUI v.14. On version 13 it works correctly, and on version 14 not anymore.

Specifically the function that is not being called can be found in the AppDelegate file:

func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?)

Xcode 15.4
macOS 14.6.1 (Sonoma)
Using Swift Package Manager

Example with Firebase 14 where the issue exists: https://github.com/joaomvfsantos/FirebaseUITest/tree/fuiauthdelegate-issue (please use branch fuiauthdelegate-issue)

Example with Firebase 13 where it works: https://github.com/joaomvfsantos/FirebaseUITest/tree/fuiauthdelegate-issue-v13 (please use branch fuiauthdelegate-issue-v13)

Note: Please setup the GoogleService-Info.plist in the projects and the URL types and GIDClientID in the Info.plist before running the projects

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions