v1.0.1phone_state_handler
이 플러그인을 사용하면 Android 또는 iOS 기기에서 통화를 받고 있는지 빠르고 쉽게 확인할 수 있으며, 통화 상태도 알 수 있습니다.
1좋아요 930일 다운로드150Pub 점수
AndroidiOS
이 플러그인을 사용하면 Android 또는 iOS 기기에서 통화를 받고 있는지 빠르고 쉽게 확인할 수 있으며, 통화 상태도 알 수 있습니다.
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This plugin modified from phone_state
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.
dependencies:
flutter:
sdk: flutter
phone_state: 1.0.1
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
Warning: Adding
READ_CALL_LOGpermission, your app will be removed from the Play Store if you don't have a valid reason to use it. Read more. But if you don't add it, you will not be able to know caller's number.
StreamBuilder<PhoneState>(
initialData: PhoneState.nothing(),
stream: PhoneState.stream,
...
)
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.