smart_auth 1.1.1 smart_auth: ^1.1.1 copied to clipboard
Wrapper of Android SMS User Consent API, SMS Retriever API to read one time sms code, get/save/delete 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: ^1.1.1
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';