Skip to content

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

Notifications You must be signed in to change notification settings

Balaviknesh/Firebase_Login_SwiftUI_2020

Repository files navigation

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
  • Sign Out
  • Change Username
  • Verify Email Address
  • Forgot Password
  • Password Reset (Through Email link)
  • Error View

Notes

  • Includes SwiftUI
  • Built with Swift 5 and Firebase
  • Includes Pods
  • Xcode 11

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 or 12

Runs only on devices with iOS13 or above

alt text alt text alt text alt text

Releases

No releases published

Packages

No packages published