So the issue is this: I am unable to reject call if app is terminated. If the app is in foreground/background it works fine, since the app is able to get the call session, so what i do is simply set the "rejected" flag and just wait for session with correct id. Is there any way to reject call in terminated state?
Edit: I revealed that if I'm waiting long enough before pressing "end call" button in CallKit, the callSession is received and call is rejected successfully.
So the issue is this: I am unable to reject call if app is terminated. If the app is in foreground/background it works fine, since the app is able to get the call session, so what i do is simply set the "rejected" flag and just wait for session with correct id. Is there any way to reject call in terminated state?
Edit: I revealed that if I'm waiting long enough before pressing "end call" button in CallKit, the callSession is received and call is rejected successfully.