Video-Calling icon indicating copy to clipboard operation
Video-Calling copied to clipboard

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

Open kazimad opened this issue 4 years ago • 5 comments

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 avatar Jun 10 '20 08:06 kazimad

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

plutoless avatar Jun 14 '20 09:06 plutoless

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

yifeiguorenyu avatar Sep 14 '20 09:09 yifeiguorenyu

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

plutoless avatar Sep 22 '20 06:09 plutoless

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?

dasharath8998 avatar Dec 29 '20 07:12 dasharath8998

@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.

plutoless avatar Jan 03 '21 13:01 plutoless