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

Android can't make a call when app is not in the foreground #15

Open
kazimad opened this issue Jun 10, 2020 · 5 comments
Open

Android can't make a call when app is not in the foreground #15

kazimad opened this issue Jun 10, 2020 · 5 comments

Comments

@kazimad
Copy link

kazimad commented Jun 10, 2020

Application works fantastic when both users take it on the foreground.
But unfortunately when person who will receive the call moves from the app to the background, or even minimize it. It will not receive the call.
Caller has infinity call process
Would you please help me with that

@kazimad kazimad changed the title can't make a call when app is not in the foreground Android can't make a call when app is not in the foreground Jun 10, 2020
@plutoless
Copy link
Contributor

you will need to implement push notification to receive msg when in background. or if you are using android you can use foreground services.

@yifeiguorenyu
Copy link

发送通知后,点一下通知 ,让app 回到 前台?

@plutoless
Copy link
Contributor

@yifeiguorenyu 是的,然后处理接听逻辑,当然也可以用connecionservice

@dasharath8998
Copy link

Which way is better to display incoming calls if the android app is killed, Connection service, or Should open an alert screen on push notification?

@plutoless
Copy link
Contributor

@dasharath8998 i think you should show an alert screen first via push notification, and then you can open the app or show system call ui via connection service.

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

No branches or pull requests

4 participants