phone_state 1.0.1 icon indicating copy to clipboard operation
phone_state: ^1.0.1 copied to clipboard

This plugin allows you to know quickly and easily if your Android or iOS device is receiving a call and to know the status of the call.

DESCRIPTION #

This plugin allows you to know quickly and easily if your Android or iOS device is receiving a call and to know the status of the call.

PAY ATTENTION #

  • In the iOS simulator doesn't work

HOW TO INSTALL #

Flutter

dependencies:
  flutter:
    sdk: flutter
  phone_state: ^1.0.0

Android: Added permission on manifest

<uses-permission android:name="android.permission.READ_PHONE_STATE" />

HOW TO USE #

Get stream phone state status #

StreamBuilder<PhoneStateStatus?>(
  initialData: PhoneStateStatus.NOTHING,
  stream: PhoneState.phoneStateStream,
  ...

SCREENSHOT #

Write me in the GitHub issues the new features you need and, if they are approved of course, I will implement them as soon as I can.

13
likes
130
pub points
79%
popularity

Publisher

unverified uploader

This plugin allows you to know quickly and easily if your Android or iOS device is receiving a call and to know the status of the call.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

enum_to_string, flutter

More

Packages that depend on phone_state