voximplant / flutter_voximplant

Voximplant Flutter SDK
MIT License
9 stars 7 forks source link

callId #7

Closed zadcall closed 3 years ago

zadcall commented 4 years ago

Is there is any way to get the call id from the push notification payload ?! @YuliaGrigorieva

zadcall commented 4 years ago

@VladimirBrejcha I was hoping the with the last update you handle the push notification too, or add something to get the callId so that we can handle it our self without the whole issues we have.

VladimirBrejcha commented 3 years ago

@zadcall, callId can be received from the onIncomingCall after reporting push to the client via handlePushNotification. So, basically your flow will be like this:

  1. Receive push
  2. Report push to VIClient
  3. Receive onIncomingCall (includes VICall instance for the push)
  4. Work with received VICall