another_telephony
0.4.1, released 2 years ago by thanhdt.dev
Flutter plugin to send/receive SMS, make phone calls, and retrieve network parameters on Android.
What it does
Allows Flutter apps to interact with Android telephony features, including sending and querying SMS messages, listening for incoming SMS in the foreground or background, fetching network parameters and SIM states, and initiating phone calls.
AI-written summary of version 0.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to send or read SMS messages programmatically on Android.
- You need to listen for incoming SMS messages in the foreground or background.
- You need to query network metrics, SIM state, or cellular data parameters.
Skip it when
- Your application targets iOS (this plugin currently only works on the Android platform).
- You only need cross-platform URL launching for phone calls without SMS querying or listening features.
Strengths
- Comprehensive feature set covering SMS querying, sending, and conversations.
- Supports background execution for incoming SMS messages.
- Provides access to network metrics and device telephony parameters.
Weaknesses
- Limited to the Android platform only.
- Requires manual configuration of permissions and broadcast receivers in AndroidManifest.xml.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires adding necessary permissions (e.g., SEND_SMS, READ_SMS, RECEIVE_SMS) and registering the BroadcastReceiver in AndroidManifest.xml.
import 'package:another_telephony/telephony.dart';
final Telephony telephony = Telephony.instance;
telephony.sendSms(
to: "1234567890",
message: "May the force be with you!"
);Alternatives
Packages that do the same job and could replace another_telephony.
- flutter_sms
A Flutter plugin to send SMS and MMS on iOS and Android.
77Compare - app_settings
Open iOS and Android phone settings pages from a Flutter app.
89Compare - flutter_phone_direct_caller
A simple flutter plugin to call a phone number directly without opening the dialer.
57Compare - flutter_icmp_ping
Flutter plugin that sends ICMP ECHO_REQUEST to network hosts.
50Compare
Works with
Packages commonly used together with another_telephony: ones it builds on, ones built on it, and its own family.