Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Phone number OTP authentication login page buit with Flutter

The Gorgeous Otp

A login page built with flutter inspired by a design found on Uplabs

Login ScreenOTP Screen

Tools

This project uses the phone connection provided by Firebase. It also uses MobX and Provider to manage the state of the application simply and efficiently.

Configuration

This project works with Firebase so you need to import your own Google Services files on Android & iOS folder after creating your Firebase project. Remember to enable phone authentication in your Firebase project.

On iOS if you don’t have APN key or APN is not setup on the device (emulator) you must set URL Schemes to the REVERSE_CLIENT_ID from the GoogleServices-Info.plist file. If your application crashes on iOS after entering his phone to receive OTP, there’s a good chance it is due to this step.

Download Phone Number OTP Authentication source code on GitHub

https://github.com/huextrat/TheGorgeousOtp

Exit mobile version