React Native Telephony
Installation
Add the package to your react-native project in the following way
yarn add react-native-telephony
Link the current package to your react native project
react-native link react-native-telephony
Usage
{TelephonyTelephonyTelephonyTelephony}{Telephony}
Events
TelephonyLISTEN_CALL_FORWARDING_INDICATORTelephonyLISTEN_CALL_STATETelephonyLISTEN_CELL_INFOTelephonyLISTEN_CELL_LOCATIONTelephonyLISTEN_DATA_ACTIVITYTelephonyLISTEN_DATA_CONNECTION_STATETelephonyLISTEN_MESSAGE_WAITING_INDICATORTelephonyLISTEN_SERVICE_STATETelephonyLISTEN_SIGNAL_STRENGTHS
LISTEN_CALL_STATE states
TelephonyCALL_STATE_IDLETelephonyCALL_STATE_RINGINGTelephonyCALL_STATE_OFFHOOK
LISTEN_DATA_ACTIVITY states
TelephonyDATA_ACTIVITY_NONETelephonyDATA_ACTIVITY_INTelephonyDATA_ACTIVITY_OUTTelephonyDATA_ACTIVITY_INOUTTelephonyDATA_ACTIVITY_DORMANT
LISTEN_DATA_CONNECTION_STATE states
TelephonyDATA_DISCONNECTEDTelephonyDATA_CONNECTINGTelephonyDATA_CONNECTEDTelephonyDATA_SUSPENDED
For any problems and doubt raise an issue.