simple_telephony 0.0.5 simple_telephony: ^0.0.5 copied to clipboard
Provides very simple telephony info for both iOS and Android. Detects whether the device support phone calls.
Simple Telephony #
Intro #
Detects whether the device support phone calls
Usage #
Here is an example of detecting whether the device support phone calls
bool isVoiceCapable = false;
try {
isVoiceCapable = await SimpleTelephony.isVoiceCapable ?? false;
} on PlatformException {
print('Failed to get isVoiceCapable.');
}