smart_auth library

Flutter package for listening SMS code on Android, suggesting phone number, email, saving a credential.

Classes

Credential
A credential that can be used to authenticate a user, with additional user information used to distinguish this credential from other available credentials. Credentials can be constructed using Credential.Builder. This is typically required when a credential is to be saved using SmartAuth.saveCredential for future retrieval after a new account is created, or the user changes their password. More about Credential https://developers.google.com/android/reference/com/google/android/gms/auth/api/credentials/Credential?hl=en
Methods
SmartAuth
Flutter package for listening SMS code on Android, suggesting phone number, email, saving a credential.
SmsCodeResult
The returned value from SmartAuth.getSmsCode Contains the whole sms and the OTP code itself