Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 3.03 KB

File metadata and controls

72 lines (46 loc) · 3.03 KB

Application that authenticates with the phone number built with Flutter using Firebase

Why?

This project is part of my recent studies and I come through this repository to demonstrate an attempt to contribute to the topic addressed (authentication with phone number) due to the lack of references on the subject.

Email-me: [email protected]

Connect with me at LinkedIn.

Some Observations about this App

  1. Errors that are handled in the application:

    • quotaExceeded : indicate that the user made more requests than allowed, our system returns manyRequests() in the application.

    • ERROR_SESSION_EXPIRED : indicate that the user has erred the code sent several times, our system returns sessionExpired() in the application.

    • ERROR_INVALID_VERIFICATION_CODE : indicate that the user has erred the code sent, our system returns wrongSentCode() in the application.

    • Any other error : indicate that the user made more requests than allowed, our system returns serverError() in the application.

    • To identify more errors access .

Getting Started

Installing

Cloning the Repository

$ git clone https://github.com/pedrohsampaioo/phone_number_authentication_flutter.git

$ cd phone_number_authentication_flutter

Installing dependencies

$ flutter pub get

Firebase settings

First add the project to your Firebase console, follow these steps. Soon after, perform settings related to phone number authentication with Android and iOS .

Running

With all dependencies installed and the environment properly configured, you can now run the app:

$ flutter run

Build With