Closed andreamainella98 closed 1 year ago
I want to get not only the call status, but also the call information number
Completed!
The phone number is only obtainable on Android for the moment :(
Does this work on android 10 upward.
Because according to android docs, This constant was deprecated in API level 29. Companion apps for wearable devices should use the [InCallService](https://developer.android.com/reference/android/telecom/InCallService) API to retrieve the phone number for calls instead. Apps performing call screening should use the [CallScreeningService](https://developer.android.com/reference/android/telecom/CallScreeningService) API instead.
https://developer.android.com/reference/android/telephony/TelephonyManager#EXTRA_INCOMING_NUMBER
Will it work on API level 29 and higher
Does this work on android 10 upward.
Because according to android docs,
This constant was deprecated in API level 29. Companion apps for wearable devices should use the [InCallService](https://developer.android.com/reference/android/telecom/InCallService) API to retrieve the phone number for calls instead. Apps performing call screening should use the [CallScreeningService](https://developer.android.com/reference/android/telecom/CallScreeningService) API instead.
https://developer.android.com/reference/android/telephony/TelephonyManager#EXTRA_INCOMING_NUMBER
Will it work on API level 29 and higher
It is working on my Android 11 (level 30).
But using CallScreeningService
(if im not missing anything) not working if the application is not setted as dialer application under the devices below level 29. Source.
Does this work on android 10 upward. Because according to android docs,
This constant was deprecated in API level 29. Companion apps for wearable devices should use the [InCallService](https://developer.android.com/reference/android/telecom/InCallService) API to retrieve the phone number for calls instead. Apps performing call screening should use the [CallScreeningService](https://developer.android.com/reference/android/telecom/CallScreeningService) API instead.
https://developer.android.com/reference/android/telephony/TelephonyManager#EXTRA_INCOMING_NUMBER Will it work on API level 29 and higherIt is working on my Android 11 (level 30).
But using
CallScreeningService
(if im not missing anything) not working if the application is not setted as dialer application under the devices below level 29. Source.
Yes, that true, am just wondering what will happen in other higher android versions as we proceed,since this https://developer.android.com/reference/android/telephony/TelephonyManager#EXTRA_INCOMING_NUMBER has already been depreciated
Please just wanted to ask
Do I see the incoming phone number on iOS also ?
FEATURE