sms_user_consent 0.0.7 sms_user_consent: ^0.0.7 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
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sms_user_consent: ^0.0.7
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:sms_user_consent/sms_user_consent.dart';