FirebaseUI-iOS
FirebaseUI-iOS copied to clipboard
Privacy Policy and TOS not appearing in custom FUIAuthPickerViewController (SwiftUI)
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 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 I'm having the same issue. Did you found a workaround on this ? Thanks !