How to: Add Firebase-auth to SwiftUI 2 (2020)

MING
Tech Blog Today
Published in
Aug 4, 2020

--

You may noticed that the new version of SwiftUI removed AppDelegate file. And here’s a solution and quick demo for you.

One Step Only

Just simply copy the files into your project.

SwiftUI2-FirebaseAuth

This a quick demo code for you to add Firebase Auth (e.g. Signin with Google) in iOS 14 / iPadOS 14.

Environment:

iOS14 / iPadOS14

Tools :

Xcode 12 beta

Development :

SwiftUI with multi-platform

Screenshot

--

--

MING
Tech Blog Today

 WWDC Award Winner | Senior Software Engineer, UI Design, Github Developer | Contact: hi@1998.media | Website: 1998.media