firebase_auth_example

Demonstrates how to use the firebase_auth plugin.
Phone Auth
- Enable phone authentication in the Firebase console.
- Add test phone number and verification code to the Firebase console.
- For this sample the number
+1 408-555-6969
and verification code 888888
are used.
- For iOS set the
URL Schemes
to the REVERSE_CLIENT_ID
from the GoogleServices-Info.plist
file. - Click the
Test verifyPhoneNumber
button.
- If APNs is not enabled or a simulator is being used, verification will be done via a Captcha.
- Once the phone number is verified the app displays the test verification code.
- Click the
Test signInWithPhoneNumber
button. - Signed in user's details are displayed in the UI.
Getting Started
For help getting started with Flutter, view our online documentation.