sms_user_consent_manager 1.1.2
sms_user_consent_manager: ^1.1.2 copied to clipboard
Request user's phone number (supports dual sim) and/or consent to read SMS without adding any permissions
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sms_user_consent_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sms_user_consent_manager: ^1.1.2Alternatively, 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:sms_user_consent_manager/sms_user_consent.dart';