Skip to content

How do you determine if 'didLoadWithEvents' was Accepted or Rejected? #377

@stephanoparaskeva

Description

@stephanoparaskeva

Bug report

I need to check if didLoadWithEvents via RNCallKeep.addEventListener('didLoadWithEvents', foo);
Has an event RNCallKeepDidDisplayIncomingCall and if the incoming call was Accepted or Rejected. As I need to do different logic based on if the call was Rejected or Accepted.

Here are all the events from didLoadWithEvents

 [
{"data": 
     {
"callUUID": "fa0b33a2-e373-4d01-a114-91a2a6abf27e", 
"error": "", 
"fromPushKit": "1", 
"handle": "onasi", 
"hasVideo": "1", 
"localizedCallerName": 
"onasi", 
"payload": 
[Object], 
"supportsDTMF": 
"1", "supportsGrouping":
 "1", 
"supportsHolding": "1", "supportsUngrouping": "1"
}, "name": "RNCallKeepDidDisplayIncomingCall"}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions