react-native-twilio-programmable-voice icon indicating copy to clipboard operation
react-native-twilio-programmable-voice copied to clipboard

Incoming call not working in Android 10

Open Samsritha1596 opened this issue 4 years ago • 9 comments

Please include the following information for better support

The more context you provide around this issue the faster the community can help you

Did you follow all the instructions as specified in the Twilio Quickstart repositories? Yes What version of React Native are you running? 0.61.5 What version of react-native-twilio-programmable-voice are you running? 4.1.0 What device are you using? (e.g iOS10 simulator, Android 7 device)? Android 10 and android 7 Is your app running in foreground, background or not running? background and app closed Is there any relevant message in the log? No error If using iOS, which pod version are you using?

Step to reproduce

Advanced: Have you tried adding break point using AndroidStudio or XCode and analyse the logs? No can share a project with issue? Did you try to reinstall the pods completely?

Samsritha1596 avatar Dec 01 '20 17:12 Samsritha1596

Incoming call not working when app is in background and closed (Android)

Samsritha1596 avatar Dec 04 '20 17:12 Samsritha1596

Any solution ? Please let me know

Samsritha1596 avatar Dec 05 '20 17:12 Samsritha1596

this is a know issue. Currently development of a fix is happening in this PR: https://github.com/hoxfon/react-native-twilio-programmable-voice/pull/164 this aligns Android sdk to v5

fabriziomoscon avatar Dec 06 '20 14:12 fabriziomoscon

Any update for incoming call in Android 10 ?

Samsritha1596 avatar Dec 17 '20 04:12 Samsritha1596

Same issue In Android 11 also.. Incoming call screen is not invoking when app is in background and closed

Samsritha1596 avatar Dec 18 '20 08:12 Samsritha1596

@Samsritha1596 please test #164

fabriziomoscon avatar Feb 12 '21 08:02 fabriziomoscon

i found android 10 restrict startActivity from background, as your code in firebase class here

 // app is not in foreground
                                if (appImportance != ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND) {
                                    context.startActivity(launchIntent);
                                }

So u can not start incoming call screen from background, android suggest use fullscreen intent instead, please give feedback soon, thanks

fukemy avatar Mar 07 '21 15:03 fukemy

Hello Team, I am having the same issue. I am using Android 10. And we are using below plugin version below -

"react-native-twilio-programmable-voice": "git+https://github.com/hoxfon/react-native-twilio-programmable-voice.git#feat/twilio-android-sdk-5",

We a not able to receive call when app is in foreground and background also.

supriyamalusare avatar May 30 '22 06:05 supriyamalusare

Hello Team , Any update?

Supriyamalusare05 avatar Jun 01 '22 04:06 Supriyamalusare05