# phone_state **Repository Path**: itlookit/phone_state ## Basic Information - **Project Name**: phone_state - **Description**: gaiyixiagaiyixia - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-25 - **Last Updated**: 2022-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 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. - Native Android: [TelephonyManager](https://developer.android.com/reference/android/telephony/TelephonyManager) - Native iOS: [CallKit](https://developer.apple.com/documentation/callkit) ## PAY ATTENTION - In the iOS simulator doesn't work ## HOW TO INSTALL #### Flutter ```yaml dependencies: flutter: sdk: flutter phone_state: ^1.0.0 ``` #### Android: Added permission on manifest ```xml ``` ## HOW TO USE ### Get stream phone state status ```dart StreamBuilder( initialData: PhoneStateStatus.NOTHING, stream: PhoneState.phoneStateStream, ... ``` ## SCREENSHOT Write me in the [GitHub](https://github.com/andreamainella98/phone_state/issues) issues the new features you need and, if they are approved of course, I will implement them as soon as I can.