Telephony
Last updated
This plugin currently only works on Android Platform
A Flutter plugin to use telephony features such as
Send SMS Messages
Query SMS Messages
Listen for incoming SMS
Retrieve various network parameters
This plugin tries to replicate some of the functionality provided by Android's Telephony class.
Check the Features section to see the list of implemented and missing features.
Make sure that your app complies with the requirements of Google Play. --> https://support.google.com/googleplay/android-developer/answer/9214102 --> https://support.google.com/googleplay/android-developer/answer/9888170
To use this plugin add telephony as a dependency in your pubspec.yaml file.
Import the telephony package
Retrieve the singleton instance of telephony by calling
When app is in foreground
When app is in background
Start Phone Call
Schedule a SMS
SMS Retriever API
Last updated
import 'package:telephony/telephony.dart';final Telephony telephony = Telephony.instance;