Commit c464665
committed
fix: sanity check on call state before CXEndCall transaction*
Calling
`callKitCallController.request(CXEndCallAction)` with no matching call to UUID will result in the following error:
> End Call Failed: The operation couldn’t be completed.
> com.apple.CallKit.error.requesttransaction error 4
Using the CXCallObserverDelegate call observer, we can check if the call is present before requesting the transaction.1 parent ee5b7a2 commit c464665
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
556 | 561 | | |
557 | 562 | | |
558 | 563 | | |
| |||
905 | 910 | | |
906 | 911 | | |
907 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
908 | 920 | | |
909 | 921 | | |
910 | 922 | | |
| |||
0 commit comments