flutter-webrtc / callkeep

iOS CallKit and Android ConnectionService for Flutter
MIT License
131 stars 142 forks source link

No payload data present in CallKeepDidDisplayIncomingCall event #83

Open JayPerfetto opened 3 years ago

JayPerfetto commented 3 years ago

I am trying to pass custom data in the "extra" node of the payload dictionary as listed in the docs, but there is no payload accessible in the CallKeepDidDisplayIncomingCall event object.

I see the data in the payload logged from the swift files, it is just not reaching the flutter application - perhaps this is a bug?

Screen Shot 2021-06-22 at 2 59 59 PM

JayPerfetto commented 3 years ago

As far as I can tell, no data beyond the specified assigned arguments get passed to any events - I will have to fork this repo and extend all of the objective-C classes to pass the payload as an argument where it isnt, and to parse the payload in the events that it is passed.

simone-folador commented 2 years ago

Hi @JayPerfetto , did you manage to solve your problem? We are experiencing the same issue on iOS and would like to use that feature (being able to use additional data from the payload) in our app. Let me know!