/iOS-SwiftUI-Firebase-Login-Example

Complete Sign up and Sign in Process for iOS SwiftUI - using Firebase Email and Password Authentication.

Primary LanguageSwift

You can find the updated version here - https://github.com/Balaviknesh/Firebase_Login_SwiftUI_2020

iOS Swift Firebase Login Complete Setup

This example iOS application project has the complete and latest login system using Firebase. The Login system uses the firebase-auth library and Email & Password Authentication method. The application is built on the latest SwiftUI components.

Features:

  • Sign Up
  • Sign In
  • Verify Email Address
  • Forgot Password
  • Password Reset (Through Email link)
  • Error View

Notes

  • Includes SwiftUI
  • Built with Swift 5 and Firebase
  • Includes Pods
  • Xcode public Beta

Please don’t forget to create Firebase Project for iOS and to add the GoogleService-Info.plist file to your Xcode project.

Add the Firebase pod for Auth

pod ‘Firebase/Analytics’ pod ‘Firebase/Auth’

How to run this example project

  • Clone or download the project
  • delete ‘Pods/‘, ‘Podfile.lock’
  • Run Terminal on the Project Folder (iOS-SwiftUI-Firebase-Login-Example)
  • pod de-integrate
  • pod install
  • Open .xcworkspace file
  • GoogleService-Info.plist to the project folder
  • Build and Run

Note that SwiftUI features available and works only on Xcode 11

Runs only on devices with iOS13 or above

Screenshots

alt text alt text alt text alt text