Create SwiftUI app with Firebase Authentication
SwiftUI framework is already in its third iteration and with that, it is well and truly on its way to production-ready applications. Such applications are certainly going to need some sort of authentication. Since authenticating users can be tricky, ...
kevin-furjan.hashnode.dev8 min read
Thanks for the Kevin! I've been looking all over for the SwiftUI implementation of Firebase since Google owns docs haven't been updated from StoryBoards as of yet.
I completed you tutorial and I'm getting a fatal error when I try to run LoginView as a Live Preview and actually go through the process of logging into my Gmail account.
The Error:
SwiftUI/EnvironmentObject.swift:70: Fatal error: No ObservableObject of type LoginViewModel found. A View.environmentObject(_:) for LoginViewModel may be missing as an ancestor of this view.Have you run into this?
Thanks.