Introduction
This package Firebase_Auth_Utility simplifies the process of implementing user authentication, including email/password, phone number, and social media logins, while also seamlessly integrating Firebase Cloud Messaging (FCM) for push notifications.
Supported platforms
- Android
- iOS
Features
- Phone Authentication
- Email Authentication
- Apple Authentication
- Microsoft Authentication
- Google Authentication
- Push Notifications
PreRequisite
- Add google-service.json & google-service-info.plist with respective platforms.
Phone Authentication
- Add dependencies & enable Phone Number sign-in for your Firebase project.
- Follow this https://firebase.flutter.dev/docs/auth/phone
Email Authentication
- Add dependencies & enable Email sign-in for your Firebase project.
- Follow this https://firebase.flutter.dev/docs/auth/email-link-auth
Apple Authentication
- Add dependencies & enable Apple sign-in for your Firebase project.
- Follow this https://firebase.flutter.dev/docs/auth/social
Microsoft Authentication
- Add dependencies & enable Apple sign-in for your Firebase project.
- Register your app into microsoft official.
Google Authentication
- Add dependencies & enable Google sign-in for your Firebase project.
- Add your device SHA-1 key into firebase.
- Follow this https://firebase.flutter.dev/docs/auth/social
Push Notifications
- Configure your project with firebase and initialize the firebase.
- Add APN's key to firebase for iOS notification.
- Follow this https://firebase.flutter.dev/docs/messaging/overview
Example
Check out the example
License
Issues and feedback
If you have any suggestions for including a feature or if something doesn't work, feel free to open a Github issue or to open a pull request, you are more than welcome to contribute!
Contributor
- Kuldip Rajput (ZingWorks LLP)