If you make a call to a foreground service on Android, it will be handled well even if you close the app normally. However, there is a method called force quit. In that case, the remoteUser’s client seems to have no way to recognize that the other party’s connection has been lost.
So, I tried to save the id in AsyncStorage and load the information when I reconnect the app, but it is not possible due to sendbird_calls_react_native.RNCallsInternalError error 4.
Is there a way to handle this?
For reference, iOS also causes the same behavior when the app is closed.
- Answer the phone.
- Force quit the app.
- remoteUser cannot hear sounds or handle events.
This always happens unless I force quit.
I don’t think I can develop it because it’s impossible to handle.
The call will also be marked as in progress on the SendBird dashboard.
카카오톡은 통화중 앱을 강제 종료할경우 서버를 통해 VoiceTalk을 종료합니다.
현재 DirectCall을 사용하고 있습니다.
For this event, it would be a good idea to add a method that can retrieve the directCall activated for the current user, or add a handler when the connection is lost from the server.
- When you receive a call, the app will launch.
- Calls work well.
3. The user’s Callkit is maintained, but the application is closed.
4. A call failure message is displayed on the Callkit screen.
5. The other client is not aware of the call failure.
3. The foregroundNotification is maintained, but the user forcibly closes the application.
4. The call is forcefully terminated.
5. The other client does not know that the call is being forcibly terminated.
I would like to handle this case. Is there currently a way?
This problem can also be reproduced in the Sendbird Calls Application available on the market.
please fix this