background_sms 0.0.4 background_sms: ^0.0.4 copied to clipboard
The main purpose is to send sms from background and headless.You can send sms whatever the phone state is in app or background or headless.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add background_sms
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
background_sms: ^0.0.4
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:background_sms/background_sms.dart';