Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming call not working in Android 10 #171

Open
Samsritha1596 opened this issue Dec 1, 2020 · 9 comments
Open

Incoming call not working in Android 10 #171

Samsritha1596 opened this issue Dec 1, 2020 · 9 comments

Comments

@Samsritha1596
Copy link

Samsritha1596 commented Dec 1, 2020

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
Copy link
Author

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

@Samsritha1596
Copy link
Author

Any solution ? Please let me know

@Samsritha1596 Samsritha1596 changed the title Incoming call not working in Android 10 Incoming call not working in Android Dec 5, 2020
@fabriziomoscon
Copy link
Collaborator

this is a know issue.
Currently development of a fix is happening in this PR: #164
this aligns Android sdk to v5

@Samsritha1596 Samsritha1596 changed the title Incoming call not working in Android Incoming call not working in Android 10 Dec 7, 2020
@Samsritha1596
Copy link
Author

Any update for incoming call in Android 10 ?

@Samsritha1596
Copy link
Author

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

@fabriziomoscon
Copy link
Collaborator

@Samsritha1596 please test #164

@fukemy
Copy link

fukemy commented Mar 7, 2021

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

@supriyamalusare
Copy link

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.

@Supriyamalusare05
Copy link

Hello Team ,
Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants