Firebase Authentication provides an interesting and easy to implement and SDK framework to authenticate users. User Authentication is becoming an essential component to app development as well as an expensive technology to develop. Firebase provides a well developed secure environment to authenticate users as add-on feature to mobile applications, and personalized user experience across multiple applications.
This Template App simplifies the work to be done to integrate with Firebase Email/ Password Authenticator API, and provides end-to-end integration empowered with responsive user interface screens and rich functionalities:
- signup
- signin
- signout
- commit changes of user properties
- update email
- reset password
- reset password link by email
- email verification and
- delete profile directly with Firebase Authenticator
Features
- Supports iOS 16.0
- MVVM Architecture
- Combine Framework
- Userdefaults capability
- Responsive UI
- Free Support
Requirements
- Firebase account
- XCode 14.1
- iOS 16 simulator or device
Instructions
- Xcode
- Unpack the Template App zip file into your Xcode directory.
- Open the project app in Xcode (File -> Open) and navigate to Xcode project name DemoFirebase.
- Update the Signing and Capabilities for the project targets in Xcode to create a new bundle identifier (this identifier will be needed when adding the project app into firebase)
- From your browser, go to firebase web page and create Firebase account (if you don’t have one)
- Firebase
- Create Firebase project from firebase console
- Add iOS app to your firebase project:
- provide Apple bundle ID (Bundle Identifier in the General tab of your app's primary target in Xcode)
- download the GoogleService-info.plist file and inject this file into the app root directory in Xcode.
- Firebase dependencies will be fetched and installed automatically into Xcode project (if not, you can follow the following steps):
- File -> Add Packages
- insert firebase package URL https://github.com/firebase/firebase-ios-sdk into “Search or Enter Package URL” and click Add Package
- select FirebaseAuth from listed options