forked from eatvio/eatvio_app
feat(video_calls): android repeated call after hanging up fix and ios repeated calls after call initiation fix
This commit is contained in:
@@ -701,7 +701,9 @@ import flutter_foreground_task
|
||||
data.configureAudioSession = false
|
||||
data.audioSessionActive = false
|
||||
data.audioSessionMode = "videoChat"
|
||||
data.ringtonePath = "system_ringtone_default"
|
||||
// Do not set ringtonePath. The plugin stores that string as the ringtone
|
||||
// file name. "system_ringtone_default" is not in the app, so CallKit ends
|
||||
// the call at once and PushKit delivers the same push again.
|
||||
// Remember the id so the in-app socket path does not report it again.
|
||||
// The push itself must still be reported, or iOS kills the process.
|
||||
_ = reserveIncomingCall(id)
|
||||
|
||||
Reference in New Issue
Block a user