Open aDarkRider opened 1 year ago
It sounds like you've put in a lot of effort into your app, but you're encountering some issues with the InCallService and the CallActivity on specific devices. This can be quite frustrating. Device-specific behavior can sometimes be challenging to troubleshoot. You might want to consider reaching out to the device manufacturer's support or community forums to see if others have experienced similar problems with Infinix devices on Android 11. Additionally, for the TextToSpeech API issue, make sure you have the necessary permissions and check if there are any device-specific quirks affecting its functionality. usaudiovisuals Best of luck with resolving these challenges!
I have read the complete article. I followed it an created an app. The main issue I'm facing is that when app is destroyed the InCallService doesn't launch the CallActivity that was created to handle the calls on some devices. I'm using Infinix device with Android version 11. I'm trying to launch my custom CallActivity when a new call is added to the device. it work fine if the application is in foreground or in background but it stop working when the app is destroyed. If the app is destroyed the default call activity is launched instead of the custom CallActivity that I created. Also on some devices even if the app is destroyed the custom CallActivity is launched but the TextToSpeech api doesn't work.