smart_auth 3.0.0 smart_auth: ^3.0.0 copied to clipboard
Wrapper of Android SMS User Consent API, SMS Retriever API to read one time sms code, get user phone number, OTP, OTC, sms autofill, android autofill
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_auth
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
smart_auth: ^3.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smart_auth/smart_auth.dart';