Skip to content

mrJeong/phone_state

 
 

Repository files navigation

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.

About

Flutter plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 29.2%
  • Kotlin 26.9%
  • Swift 22.2%
  • Ruby 16.7%
  • Objective-C 5.0%