Closed jinsu3758 closed 4 years ago
anybody got any Solution?
Hello @jinsu3758 @SwiftAmit
Please, be notified, that VOIP functionality has been deprecated by Apple in IOS 13, this is why it doesn't work on your side. Check the following article about what you should do in this case: https://developer.apple.com/videos/play/wwdc2019/707/
Have a good day!
Hi, Thanks for your reply. @QB-vladyslav-vyshniak
Doesn't the sample code respond to this issue? Even now, the demo sample 'sample-videochat-webrtc-swift' crashes the app in the background or not running
@jinsu3758 do you mean that after applying of the necessary points in the provided by Apple article QuickBlox clear sample crashes? Provide me with a detailed description of the issue, reproducing steps and detailed logs to investigate the issue.
The status of the ticket changed to "Closed" due to the absence of a reply.
New Issue Checklist
Environment details
Did this work before? No, Occurs after version 13 update. On iOS 13.0 and later, when you receive a voip push report a call to CallKit However, the latest release has no response.
Expected behavior not crash in the background
Actual behavior The app is crashing when it receives a call in the background or not running.
Logs
Title for logs
```logos 2020-01-08 11:50:19.816950+0900 Cheobanghaejum[2046:1495285] *** Assertion failure in -[PKPushRegistry _terminateAppIfThereAreUnhandledVoIPPushes], /BuildRoot/Library/Caches/com.apple.xbs/Sources/PushKit/PushKit-37/PKPushRegistry.m:343 2020-01-08 11:50:19.817804+0900 Cheobanghaejum[2046:1495285] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.' ```Steps to reproduce the behavior video call in the background or not running in sample-videochat-webrtc-swift
Any others comments In the demo code, I tried calling
reportNewIncomingCall(with:update:completion:)
frompushRegistry(_:didReceiveIncomingPushWith:for:completion:)
. but not synchronized with didReceiveNewSession(_:userInfo:). So I can't accept call right away