Display a call answering screen when the incoming call is in the background/killed or on app running (Just like Line incoming call screen)

Hello Team Sendbird,
If I want to display a call answering screen (not just fcm) when the incoming call is in the background/killed or on app running? Do I need to use a SIP account or other methods?

Start a “YourAnsweringActivity” with “CALL_ID”(call.getCallId()) when received onRinging() event.
Get a “DirectCall” from SendBirdCall.getCall(CALL_ID) in “YourAnsweringActivity”.
Now you can invoke “call.accept()” or “call.end()” with the “DirectCall” in “YourAnsweringActivity”.
I think, it may be needed some android permissions to start an activity on idle status.
Thank you.

1 Like

Thank you for your detailed answer :grin: