FirebaseUI-iOS icon indicating copy to clipboard operation
FirebaseUI-iOS copied to clipboard

Privacy Policy and TOS not appearing in custom FUIAuthPickerViewController (SwiftUI)

Open jtressle opened this issue 4 years ago • 2 comments

I'm trying to the FirebaseUI view controller in SwiftUI, but have an issue displaying the privacy policies or TOS.

Basically, I'm following the implementation described in issue 811: https://github.com/firebase/FirebaseUI-iOS/issues/811

In my UIViewControllerRepresentable, I've the following lines:

    func authPickerViewController(forAuthUI authUI: FUIAuth) -> FUIAuthPickerViewController
    {
        return AuthPickerViewController(nibName: "AuthPickerViewController", bundle: Bundle.main, authUI: authUI)
    }

My custom AuthPickerViewController is simply a FUIAuthPickerViewController subclass with a different background color. Omitting the above lines shows the privacy policy and TOS, while implementing the above lines hides the privacy policy.

What is the correct way of implementing FirebaseUI in SwiftUI?

Thanks in advance,

jtressle avatar Aug 12 '20 02:08 jtressle

@jtressle having a similar issue following the implementation in #811. It seems the delegate methods on the Coordinator are not called? Any chance you found a workaround this?

Thanks!

pedrovelmo avatar Aug 19 '20 22:08 pedrovelmo

@pedrovelmo I'm having the same issue. Did you found a workaround on this ? Thanks !

MonfretAugustin avatar Mar 22 '23 11:03 MonfretAugustin