voximplant / react-native-voximplant

Voximplant mobile SDK for React Native (iOS/Android)
http://voximplant.com
205 stars 39 forks source link

When app is killed but the foreground service is running call keeps working (awesome!). But if the app is reopened then the call ends #94

Closed sanjaypojo closed 4 years ago

sanjaypojo commented 5 years ago

Hi @YuliaGrigorieva, this is a tricky scenario, but it happens with many of our users.

To reproduce this issue,

  1. Start a call on android.
  2. Once it's connected, background the app.
  3. Now kill the app by opening the multi-tasking view and swiping away the app.
  4. App is killed but foreground service remains working! Call remains connected (awesome!!)
  5. Re-open the app. Call gets killed -- this is what I want to prevent.

Is there any way to prevent it from disconnecting this way?

Thanks, Sanjay

YuliaGrigorieva commented 5 years ago

Hello @sanjaypojo !

Thank you for reporting the issue.

On the step 4, you mention that the call remains connected. Does it mean that the audio is not interrupted and both parties can hear each other?

Best regards, Yulia Grigorieva

sanjaypojo commented 5 years ago

Hi @YuliaGrigorieva, I can confirm that the audio is not interrupted and both parties are able to hear each other!

pravinjohn commented 5 years ago

Hi, did you find any solution for this?

sanjaypojo commented 4 years ago

@YuliaGrigorieva we've resolved this issue. It was because we were disconnecting from voximplant when the app mounted. We fixed this and everything works now (call remains connected after killing the app and reopening it)