flutter_phone_direct_caller
2.2.1, released 2 years ago by an unverified publisher
A simple flutter plugin to call a phone number directly without opening the dialer.
What it does
Allows your Flutter application to initiate phone calls directly from the app code without navigating the user away to the native phone dialer. It also handles the necessary permission requests automatically on supported platforms.
AI-written summary of version 2.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to make direct phone calls from within your app.
- You want to bypass the native phone dialer app for calling numbers.
Skip it when
- You only need to open the standard phone dialer with a pre-filled number.
- Your target platform does not support direct calling features.
Strengths
- Calls numbers directly without going to the phone dialer
- Handles permission requests automatically
- Simple and straightforward API
Weaknesses
- Requires extra configuration in iOS info.plist
- Limited platform support (Android and iOS only)
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
No additional configuration is needed on Android. For iOS, you must add the 'tel' scheme to LSApplicationQueriesSchemes in your Info.plist file.
import 'package:flutter/material.dart';
import 'package:flutter_phone_direct_caller/flutter_phone_direct_caller.dart';
_callNumber() async {
const number = '08592119XXXX';
bool res = await FlutterPhoneDirectCaller.callNumber(number);
}Alternatives
Packages that do the same job and could replace flutter_phone_direct_caller.
- app_settings
Open iOS and Android phone settings pages from a Flutter app.
89Compare - account_picker
Prompt user to pick a saved device email or phone number without extra permissions
45Compare - another_telephony
Flutter plugin to send/receive SMS, make phone calls, and retrieve network parameters on Android.
56Compare - get_phone_number
Get real phone number from Android device.
56Compare