T
T
Telephony
Search…
Telephony
Permissions
Sending An SMS
Query SMS
Query Conversations
Listen Incoming SMS
Network Data and Metrics
Start Phone Call
Executing in Background
Powered By
GitBook
Telephony
Check out on GitHub
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.
Telephony deals with features that require high risk or sensitive permissions.
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
Usage
To use this plugin add
telephony
as a
dependency in your pubspec.yaml file
.
Get Started
Setup
Import the
telephony
package
import
'package:telephony/telephony.dart'
;
Retrieve the singleton instance of
telephony
by calling
final
Telephony
telephony
=
Telephony
.
instance
;
Features
Send SMS
Query SMS
Inbox
Sent
Draft
Query Conversations
Listen to incoming SMS
When app is in foreground
When app is in background
Network data and metrics
Cellular data state
Call state
Data activity
Network operator
Network operator name
Data network type
Phone type
Sim operator
Sim operator name
Sim state
Network roaming
Signal strength
Service state
Start Phone Call
Schedule a SMS
SMS Retriever API
Next
Permissions
Last modified
1yr ago
Copy link
Outline
Usage
Get Started
Features