Skip to content

Android - answerCall and endCall come with no params to decide which call should be terminated #40

Closed
@danjenkins

Description

@danjenkins

If your app is able to handle multiple calls, how do you decide which to terminate? Lets say you have an active call and and inbound call.

How do you know which call is being ended? Should we be using

ACTION_HANGUP_CALL and ACTION_REJECT_CALL

https://github.com/hoxfon/react-native-twilio-programmable-voice/blob/master/android/src/main/java/com/hoxfon/react/RNTwilioVoice/CallNotificationManager.java#L31

Feels like I can take a stab at doing the right thing but there will be edge cases where I'm unable to choose which call I should be ending - right?

Or can we get a callId in the event like there is on ios - which would make this like for like

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions